Partager via


Propriété Information.MasterDBPath

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MasterDBPath As String 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Configuration de SQL Server dans SMO

Voir aussi

Référence

Information Classe

Espace de noms Microsoft.SqlServer.Management.Smo