Aracılığıyla paylaş


IServerInformation.RootDirectory Property

Gets the root directory for the instance of SQL Server.

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

Syntax

'Bildirim
<DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_RootDirectoryName")> _
ReadOnly Property RootDirectory As String
    Get
'Kullanım
Dim instance As IServerInformation
Dim value As String

value = instance.RootDirectory
[DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")]
[DisplayNameKeyAttribute("Server_RootDirectoryName")]
string RootDirectory { get; }
[DisplayDescriptionKeyAttribute(L"Server_RootDirectoryDesc")]
[DisplayNameKeyAttribute(L"Server_RootDirectoryName")]
property String^ RootDirectory {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")>]
[<DisplayNameKeyAttribute("Server_RootDirectoryName")>]
abstract RootDirectory : string
function get RootDirectory () : String

Property Value

Type: System.String
The root directory for the instance of SQL Server.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace