Propriété RootDirectory

Gets the root directory for the instance of SQL Server.

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

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Server_RootDirectoryName")> _
<DisplayDescriptionKeyAttribute("Server_RootDirectoryDesc")> _
ReadOnly Property RootDirectory As String
    Get
'Utilisation
Dim instance As IServerInformation
Dim value As String

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

Valeur de propriété

Type : System. . :: . .String
String