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
The MasterDBPath property value.

Implements

IServerInformation.MasterDBPath

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace