Share via


ISfcMetadataProvider.GetMetadataProvider Method

Returns the root instance of the metadata provider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetMetadataProvider As SfcMetadataDiscovery
'Usage
Dim instance As ISfcMetadataProvider
Dim returnValue As SfcMetadataDiscovery

returnValue = instance.GetMetadataProvider()
SfcMetadataDiscovery GetMetadataProvider()
SfcMetadataDiscovery^ GetMetadataProvider()
abstract GetMetadataProvider : unit -> SfcMetadataDiscovery 
function GetMetadataProvider() : SfcMetadataDiscovery

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcMetadataDiscovery
An SfcMetadataDiscovery object that identifies the metadata provider.

Remarks

Each domain can implement its own provider. This method will return the domain's implementation of the metadata provider.