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.