共用方式為


RootDirectory 屬性

Gets the RootDirectory property value.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property RootDirectory As String
    Get
'用途
Dim instance As Server
Dim value As String

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

屬性值

型別:System. . :: . .String
String

實作

IServerInformation. . :: . .RootDirectory