Bagikan melalui


Server.RootDirectory Property

Gets the RootDirectory property value.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property RootDirectory As String 
    Get
'Usage
Dim instance As Server 
Dim value As String 

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

Property Value

Type: System.String
The RootDirectory property value.

Implements

IServerInformation.RootDirectory

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace