Share via


IMetadataProvider Interface

Defines methods and properties that can be used to access server metadata objects or create metadata objects.

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

Syntax

'Declaration
Public Interface IMetadataProvider
'Usage
Dim instance As IMetadataProvider
public interface IMetadataProvider
public interface class IMetadataProvider
type IMetadataProvider =  interface end
public interface IMetadataProvider

The IMetadataProvider type exposes the following members.

Properties

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

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace