SecondaryRoleReplicaOption.AllowConnections 屬性

Gets the allow read value.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property AllowConnections As AllowConnectionsOptionKind 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.AllowConnectionsOptionKind
The allow read value.

請參閱

參考

SecondaryRoleReplicaOption 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間