Share via


SystemMetadataProvider Class

Represents a metadata provider.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.SqlParser.MetadataProvider.MetadataProviderBase
    Microsoft.SqlServer.Management.SqlParser.SystemMetadataProvider.SystemMetadataProvider

Namespace:  Microsoft.SqlServer.Management.SqlParser.SystemMetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Class SystemMetadataProvider _
    Inherits MetadataProviderBase
'Usage
Dim instance As SystemMetadataProvider
public class SystemMetadataProvider : MetadataProviderBase
public ref class SystemMetadataProvider : public MetadataProviderBase
type SystemMetadataProvider =  
    class
        inherit MetadataProviderBase
    end
public class SystemMetadataProvider extends MetadataProviderBase

The SystemMetadataProvider type exposes the following members.

Constructors

  Name Description
Public method SystemMetadataProvider Initializes a new instance of the SystemMetadataProvider class.

Top

Properties

  Name Description
Public property AfterBindHandler Gets the method that will handle the AfterBind event. (Overrides MetadataProviderBase.AfterBindHandler.)
Public property BeforeBindHandler Gets the method that will handle the BeforeBind event. (Overrides MetadataProviderBase.BeforeBindHandler.)
Public property BuiltInFunctionLookup Gets an IBuiltInFunctionLookup object that can be used to look up built-in functions and global variables. (Inherited from MetadataProviderBase.)
Public property CollationLookup Gets an ICollationLookup object that can be used to look up system collations. (Inherited from MetadataProviderBase.)
Public property MetadataFactory Gets an IMetadataFactory object that can be used to create metadata objects. (Inherited from MetadataProviderBase.)
Public property Server Gets an IServer object that can be used to access server-owned metadata objects such as databases, schemas, tables, and so on. (Overrides MetadataProviderBase.Server.)
Public property SystemDataTypeLookup Gets an ISystemDataTypeLookup object that can be used to look up and retrieve system data types. (Inherited from MetadataProviderBase.)

Top

Methods

  Name Description
Public method AddDatabase Adds a database to the metadata provider.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.