共用方式為


Server.BackupDirectory 屬性

Gets or sets the BackupDirectory property value.

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

語法

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

value = instance.BackupDirectory

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

屬性值

型別:System.String
The BackupDirectory property value.

實作

IServerSettings.BackupDirectory

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間