共用方式為


BackupDirectory 屬性

Gets or sets the BackupDirectory property value.

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

語法

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

value = instance.BackupDirectory

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

屬性值

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

實作

IServerSettings. . :: . .BackupDirectory