Condividi tramite


Proprietà RootDirectory

Gets the root directory for the instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property RootDirectory As String
    Get
'Utilizzo
Dim instance As Information
Dim value As String

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

Valore proprietà

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