Aracılığıyla paylaş


Information.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
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property RootDirectory As String
    Get
'Kullanım
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

Property Value

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

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace