Information.MasterDBPath Property

Gets the database file directory for the master database on the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MasterDBPath As String
    Get
'Usage
Dim instance As Information
Dim value As String

value = instance.MasterDBPath
[SfcPropertyAttribute]
public string MasterDBPath { get; }
[SfcPropertyAttribute]
public:
property String^ MasterDBPath {
    String^ get ();
}
[<SfcPropertyAttribute>]
member MasterDBPath : string
function get MasterDBPath () : String

Property Value

Type: System.String
A String value that specifies the database file directory for the master database on the instance of SQL Server.