共用方式為


AvailabilityReplica.BackupPriority 屬性

Gets or sets the value of the backup priority of the AvailabilityReplica

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupPriority As Integer 
    Get 
    Set
'用途
Dim instance As AvailabilityReplica 
Dim value As Integer 

value = instance.BackupPriority

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

屬性值

型別:System.Int32
The value of the backup priority of the availability replica.

請參閱

參考

AvailabilityReplica 類別

Microsoft.SqlServer.Management.Smo 命名空間