Export (0) Print
Expand All

MetadataProviderUtils.Names.Database Class

Provides the common names of the SQL Server databases.


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

public static class Database

The MetadataProviderUtils.Names.Database type exposes the following members.

Public fieldStatic memberMasterGets the name of the master database ("master").
Public fieldStatic memberModelGets the name of the model database ("model").
Public fieldStatic memberMsdbGets the name of the msdb database ("msdb").
Public fieldStatic memberTempDbGets the name of the tempdb database ("tempdb").

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft