SmoMetadataProvider.CreateDisconnectedProvider(Server) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the Microsoft.SqlServer.Management.SqlParser.MetadataProvider that uses the specified SMO server object to retrieve metadata objects.
public static Microsoft.SqlServer.Management.SmoMetadataProvider.SmoMetadataProvider CreateDisconnectedProvider (Microsoft.SqlServer.Management.Smo.Server server);
static member CreateDisconnectedProvider : Microsoft.SqlServer.Management.Smo.Server -> Microsoft.SqlServer.Management.SmoMetadataProvider.SmoMetadataProvider
Public Shared Function CreateDisconnectedProvider (server As Server) As SmoMetadataProvider
Parameters
Returns
A Microsoft.SqlServer.Management.SmoMetaDataProvider.SmoMetadataProvider object that uses the specified connection to retrive server metadata.