Partager via


RootDirectory propriété

Gets the root directory for the instance of SQL Server.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property RootDirectory As String
    Get
'Utilisation
Dim instance As Information
Dim value As String

value = instance.RootDirectory
[SfcPropertyAttribute]
public string RootDirectory { get; }
[SfcPropertyAttribute]
public:
property String^ RootDirectory {
    String^ get ();
}
[<SfcPropertyAttribute>]
member RootDirectory : string
function get RootDirectory () : String

Valeur de la propriété

Type : System. . :: . .String
A String value that specifies the root directory on the computer that is running the instance of SQL Server.