Compartir a través de


MasterDBPath Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayNameKeyAttribute("Server_MasterDBPathName")> _
<DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")> _
ReadOnly Property MasterDBPath As String
    Get
'Uso
Dim instance As IServerInformation
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
String