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


Свойство IServerInformation.MasterDBPath

Gets the master database data path for the instance of SQL Server.

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

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")> _
<DisplayNameKeyAttribute("Server_MasterDBPathName")> _
ReadOnly Property MasterDBPath As String 
    Get
'Применение
Dim instance As IServerInformation 
Dim value As String 

value = instance.MasterDBPath
[DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")]
[DisplayNameKeyAttribute("Server_MasterDBPathName")]
string MasterDBPath { get; }
[DisplayDescriptionKeyAttribute(L"Server_MasterDBPathDesc")]
[DisplayNameKeyAttribute(L"Server_MasterDBPathName")]
property String^ MasterDBPath {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")>]
[<DisplayNameKeyAttribute("Server_MasterDBPathName")>]
abstract MasterDBPath : string
function get MasterDBPath () : String

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

Тип: System.String
The master database data path for the instance of SQL Server.

См. также

Справочник

IServerInformation Интерфейс

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