Udostępnij przez


IServerInformation.MasterDBPath Property

Gets the master database data path for the instance of SQL Server. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Server_MasterDBPathName")> _
<DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")> _
ReadOnly Property MasterDBPath As String
[DisplayNameKeyAttribute("Server_MasterDBPathName")] 
[DisplayDescriptionKeyAttribute("Server_MasterDBPathDesc")] 
string MasterDBPath { get; }
[DisplayNameKeyAttribute(L"Server_MasterDBPathName")] 
[DisplayDescriptionKeyAttribute(L"Server_MasterDBPathDesc")] 
property String^ MasterDBPath {
    String^ get ();
}
/** @property */
String get_MasterDBPath ()
function get MasterDBPath () : String

Property Value

String

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.