此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets a value that indicates whether all the SQL Server database users are copied from the source database to the target database.
命名空間: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
組件: Microsoft.SqlServer.TransferSqlServerObjectsTask (在 Microsoft.SqlServer.TransferSqlServerObjectsTask.dll 中)
語法
'宣告
Property CopyAllUsers As Boolean
Get
Set
'用途
Dim instance As ITransferSqlServerObjectsTask
Dim value As Boolean
value = instance.CopyAllUsers
instance.CopyAllUsers = value
bool CopyAllUsers { get; set; }
property bool CopyAllUsers {
bool get ();
void set (bool value);
}
abstract CopyAllUsers : bool with get, set
function get CopyAllUsers () : boolean
function set CopyAllUsers (value : boolean)
屬性值
型別:System.Boolean
true if all the SQL Server database users are copied from the source database to the target database; otherwise, false.
請參閱
參考
ITransferSqlServerObjectsTask 介面
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask 命名空間