Compartilhar via


Propriedade do RDL PrimaryRoleReplicaOption.AllowConnections

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property AllowConnections As AllowConnectionsOptionKind 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.AllowConnectionsOptionKind
The replica option to allow in the connections.

Consulte também

Referência

PrimaryRoleReplicaOption Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom