Condividi tramite


Proprietà AvailabilityReplica.ConnectionModeInPrimaryRole

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectionModeInPrimaryRole As AvailabilityReplicaConnectionModeInPrimaryRole 
    Get 
    Set
'Utilizzo
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaConnectionModeInPrimaryRole 

value = instance.ConnectionModeInPrimaryRole

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

Valore proprietà

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

Vedere anche

Riferimento

AvailabilityReplica Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo