SystemMetadataProvider Constructor
Initializes a new instance of the SystemMetadataProvider class.
Namespace: Microsoft.SqlServer.Management.SqlParser.SystemMetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Sub New ( _
collationInfo As CollationInfo _
)
'Usage
Dim collationInfo As CollationInfo
Dim instance As New SystemMetadataProvider(collationInfo)
public SystemMetadataProvider(
CollationInfo collationInfo
)
public:
SystemMetadataProvider(
CollationInfo^ collationInfo
)
new :
collationInfo:CollationInfo -> SystemMetadataProvider
public function SystemMetadataProvider(
collationInfo : CollationInfo
)
Parameters
- collationInfo
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
The CollationInfo object that represents the collation of the server.
Remarks
The master database is automatically added to the metadata provider.