Share via


MetadataProviderUtils.Names.Database Class

Provides the common names of the SQL Server databases.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.SqlParser.MetadataProvider.MetadataProviderUtils.Names.Database

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

Syntax

'Declaration
Public NotInheritable Class Database
'Usage
public static class Database
public ref class Database abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Database =  class end
public final class Database

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

Fields

  Name Description
Public fieldStatic member Master Gets the name of the master database ("master").
Public fieldStatic member Model Gets the name of the model database ("model").
Public fieldStatic member Msdb Gets the name of the msdb database ("msdb").
Public fieldStatic member TempDb Gets the name of the tempdb database ("tempdb").

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.

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace