次の方法で共有


SecondaryRoleReplicaOption.AllowConnections プロパティ

allow read 値を取得します。

名前空間:  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
allow read 値。

関連項目

参照

SecondaryRoleReplicaOption クラス

Microsoft.SqlServer.TransactSql.ScriptDom 名前空間