共用方式為


MasterDBPath 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Server_MasterDBPathName")> _
<DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")> _
ReadOnly Property MasterDBPath As String
    Get
'用途
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

屬性值

型別:System. . :: . .String
String