AvailabilityReplica.BackupPriority Property
Gets or sets the value of the backup priority of the AvailabilityReplica
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupPriority As Integer
Get
Set
'Usage
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)
Property Value
Type: System.Int32
The value of the backup priority of the availability replica.