SmoMetadataProvider Class
Represents an IMetadataProvider object that uses the SMO layer to retrieve server metadata objects.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.MetadataProviderBase
Microsoft.SqlServer.Management.SmoMetadataProvider.SmoMetadataProvider
Namespace: Microsoft.SqlServer.Management.SmoMetadataProvider
Assembly: Microsoft.SqlServer.Management.SmoMetadataProvider (in Microsoft.SqlServer.Management.SmoMetadataProvider.dll)
Syntax
'Declaration
Public MustInherit Class SmoMetadataProvider _
Inherits MetadataProviderBase
'Usage
Dim instance As SmoMetadataProvider
public abstract class SmoMetadataProvider : MetadataProviderBase
public ref class SmoMetadataProvider abstract : public MetadataProviderBase
[<AbstractClassAttribute>]
type SmoMetadataProvider =
class
inherit MetadataProviderBase
end
public abstract class SmoMetadataProvider extends MetadataProviderBase
The SmoMetadataProvider type exposes the following members.
Properties
Name | Description | |
---|---|---|
AfterBindHandler | Gets the method that will handle the AfterBind event. (Inherited from MetadataProviderBase.) | |
BeforeBindHandler | Gets the method that will handle the BeforeBind event. (Inherited from MetadataProviderBase.) | |
BuiltInFunctionLookup | Gets an IBuiltInFunctionLookup object that can be used to look up built-in functions and global variables. (Inherited from MetadataProviderBase.) | |
CollationLookup | Gets an ICollationLookup object that can be used to look up system collations. (Inherited from MetadataProviderBase.) | |
MetadataFactory | Gets an IMetadataFactory object that can be used to create metadata objects. (Inherited from MetadataProviderBase.) | |
Server | Gets an IServer object which allows for accessing server-side metadata objects such as databases, schemas, and tables. (Overrides MetadataProviderBase.Server.) | |
SmoServer | Gets a Server object associated with the metadata provider. | |
SystemDataTypeLookup | Gets an ISystemDataTypeLookup object that can be used to look up and retrieve system data types. (Inherited from MetadataProviderBase.) |
Top
Methods
Name | Description | |
---|---|---|
CreateConnectedProvider(ServerConnection) | Creates a new instance of the SmoMetadataProvider class that uses the specified SMO connection to retrieve server metadata objects over the SMO. | |
CreateConnectedProvider(ServerConnection, Int32) | Creates a new instance of the SmoMetadataProvider class that uses the specified connection to retrieve server metadata objects over the SMO. | |
CreateDisconnectedProvider | Creates a new instance of the SmoMetadataProvider class that uses the specified SMO server object to retrieve metadata objects. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.