Свойство PrimaryRoleReplicaOption.AllowConnections

Gets or sets the replica option to allow in the connections.

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
Public Property AllowConnections As AllowConnectionsOptionKind 
    Get 
    Set
'Применение
Dim instance As PrimaryRoleReplicaOption 
Dim value As AllowConnectionsOptionKind 

value = instance.AllowConnections

instance.AllowConnections = value
public AllowConnectionsOptionKind AllowConnections { get; set; }
public:
property AllowConnectionsOptionKind AllowConnections {
    AllowConnectionsOptionKind get ();
    void set (AllowConnectionsOptionKind value);
}
member AllowConnections : AllowConnectionsOptionKind with get, set
function get AllowConnections () : AllowConnectionsOptionKind 
function set AllowConnections (value : AllowConnectionsOptionKind)

Значение свойства

Тип: Microsoft.SqlServer.TransactSql.ScriptDom.AllowConnectionsOptionKind
The replica option to allow in the connections.

См. также

Справочник

PrimaryRoleReplicaOption Класс

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom