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 命名空间