GetService
This method retrieves an object of a specified service type from the vector store.
Declaration
// C#
public object? GetService(Type serviceType, object? serviceKey = null);Parameters
serviceTypeThe type of an object to retrieve. Supported ServiceType:
VectorStoreCollectionMetaData,OracleCollectionorOracleDataSource(.NET Core only).serviceKeyAn optional key that can be used to identify the target service.
Return Value
An Object of a specified service type, otherwise null.
Implements
Microsoft.Extensions.VectorData.VectorStoreCollection