AvailabilityReplica.ConnectionModeInPrimaryRole 屬性
Gets or sets the connection model of the availability replica in primary role.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectionModeInPrimaryRole As AvailabilityReplicaConnectionModeInPrimaryRole
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionModeInPrimaryRole
The connection model of the availability replica in primary role.