Свойство 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.