共用方式為


AvailabilityGroup.AutomatedBackupPreference 屬性

Gets or sets the collection of the automated backup preference for the availability group.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AutomatedBackupPreference As AvailabilityGroupAutomatedBackupPreference 
    Get 
    Set
'用途
Dim instance As AvailabilityGroup 
Dim value As AvailabilityGroupAutomatedBackupPreference 

value = instance.AutomatedBackupPreference

instance.AutomatedBackupPreference = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityGroupAutomatedBackupPreference AutomatedBackupPreference { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityGroupAutomatedBackupPreference AutomatedBackupPreference {
    AvailabilityGroupAutomatedBackupPreference get ();
    void set (AvailabilityGroupAutomatedBackupPreference value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AutomatedBackupPreference : AvailabilityGroupAutomatedBackupPreference with get, set
function get AutomatedBackupPreference () : AvailabilityGroupAutomatedBackupPreference 
function set AutomatedBackupPreference (value : AvailabilityGroupAutomatedBackupPreference)

屬性值

型別:Microsoft.SqlServer.Management.Smo.AvailabilityGroupAutomatedBackupPreference
The collection of the automated backup preference for the availability group.

請參閱

參考

AvailabilityGroup 類別

Microsoft.SqlServer.Management.Smo 命名空間