共用方式為


MasterDBPath 屬性

取得 MasterDBPath 屬性值。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MasterDBPath As String
    Get
'用途
Dim instance As Server
Dim value As String

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

屬性值

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

實作

IServerInformation. . :: . .MasterDBPath