Freigeben über


AvailabilityReplica.ConnectionModeInPrimaryRole-Eigenschaft

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectionModeInPrimaryRole As AvailabilityReplicaConnectionModeInPrimaryRole 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Siehe auch

Verweis

AvailabilityReplica Klasse

Microsoft.SqlServer.Management.Smo-Namespace