ConnectReplication 属性
获取或设置 Boolean 属性值,该值指定在权限集中是否包括 CONNECT REPLICATION 权限。此权限允许被授权者连接到复制数据库。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Property ConnectReplication As Boolean
Get
Set
用法
Dim instance As DatabasePermissionSet
Dim value As Boolean
value = instance.ConnectReplication
instance.ConnectReplication = value
public bool ConnectReplication { get; set; }
public:
property bool ConnectReplication {
bool get ();
void set (bool value);
}
member ConnectReplication : bool with get, set
function get ConnectReplication () : boolean
function set ConnectReplication (value : boolean)
属性值
类型:System. . :: . .Boolean
一个 Boolean 值,指定是否在权限集中包含 CONNECT REPLICATION 权限。
如果为 True,则在权限集中包含该权限。
如果为 False(默认值),则从权限集中排除该权限。