Partager via


Propriété SecondaryRoleReplicaOption.AllowConnections

Gets the allow read value.

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property AllowConnections As AllowConnectionsOptionKind 
    Get 
    Set
'Utilisation
Dim instance As SecondaryRoleReplicaOption 
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)

Valeur de propriété

Type : Microsoft.SqlServer.TransactSql.ScriptDom.AllowConnectionsOptionKind
The allow read value.

Voir aussi

Référence

SecondaryRoleReplicaOption Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom