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 (預設值),則表示權限會排除在權限集合外。