Udostępnij przez


IServerInformation.RootDirectory Property

Gets the root directory 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
<DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_RootDirectoryName")> _
ReadOnly Property RootDirectory As String
[DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")] 
[DisplayNameKeyAttribute("Server_RootDirectoryName")] 
string RootDirectory { get; }
[DisplayDescriptionKeyAttribute(L"Server_RootDirectoryDesc")] 
[DisplayNameKeyAttribute(L"Server_RootDirectoryName")] 
property String^ RootDirectory {
    String^ get ();
}
/** @property */
String get_RootDirectory ()
function get RootDirectory () : 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.