共用方式為


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.