Поделиться через


Свойство Information.MasterDBPath

Gets the database file directory for the master database on the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MasterDBPath As String 
    Get
'Применение
Dim instance As Information 
Dim value As String 

value = instance.MasterDBPath
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string MasterDBPath { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ MasterDBPath {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MasterDBPath : string
function get MasterDBPath () : String

Значение свойства

Тип: System.String
A String value that specifies the database file directory for the master database on the instance of SQL Server.

Примеры

Настройка SQL Server в SMO

См. также

Справочник

Information Класс

Пространство имен Microsoft.SqlServer.Management.Smo