Partilhar via


Propriedade do RDL AvailabilityReplica.ConnectionModeInSecondaryRole

Gets or sets the connection model of the availability replica in secondary role.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectionModeInSecondaryRole As AvailabilityReplicaConnectionModeInSecondaryRole 
    Get 
    Set
'Uso
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaConnectionModeInSecondaryRole 

value = instance.ConnectionModeInSecondaryRole

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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionModeInSecondaryRole
The connection model of the availability replica in secondary role.

Consulte também

Referência

AvailabilityReplica Classe

Namespace Microsoft.SqlServer.Management.Smo