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.