SmoMetadataProvider.CreateDisconnectedProvider 메서드

Creates a new instance of the SmoMetadataProvider class that uses the specified SMO server object to retrieve metadata objects.

네임스페이스:  Microsoft.SqlServer.Management.SmoMetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SmoMetadataProvider(Microsoft.SqlServer.Management.SmoMetadataProvider.dll)


Public Shared Function CreateDisconnectedProvider ( _
    server As Server _
) As SmoMetadataProvider
‘사용 방법
Dim server As Server 
Dim returnValue As SmoMetadataProvider 

returnValue = SmoMetadataProvider.CreateDisconnectedProvider(server)
public static SmoMetadataProvider CreateDisconnectedProvider(
    Server server
static SmoMetadataProvider^ CreateDisconnectedProvider(
    Server^ server
static member CreateDisconnectedProvider : 
        server:Server -> SmoMetadataProvider
public static function CreateDisconnectedProvider(
    server : Server
) : SmoMetadataProvider

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.SmoMetadataProvider.SmoMetadataProvider
A SmoMetadataProvider object that uses the specified connection to retrieve server metadata.

참고 항목


SmoMetadataProvider 클래스

Microsoft.SqlServer.Management.SmoMetadataProvider 네임스페이스