다음을 통해 공유


AvailabilityReplica.ConnectionModeInSecondaryRole 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectionModeInSecondaryRole As AvailabilityReplicaConnectionModeInSecondaryRole 
    Get 
    Set
‘사용 방법
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)

속성 값

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

참고 항목

참조

AvailabilityReplica 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스