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
serviceType
The type of an object to retrieve. Supported ServiceType:
VectorStoreCollectionMetaData
,OracleCollection
orOracleDataSource
(.NET Core only).serviceKey
An 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