Share via


Server.MasterDBPath Property

Gets the MasterDBPath property value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MasterDBPath As String
    Get
'Usage
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

Property Value

Type: System.String
String

Implements

IServerInformation.MasterDBPath