Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Gets or sets a value that indicates whether database roles are transferred from the source to the target database.
Namespace: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly: Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Syntax
'Declaration
Property CopyDatabaseRoles As Boolean
Get
Set
'Usage
Dim instance As ITransferSqlServerObjectsTask
Dim value As Boolean
value = instance.CopyDatabaseRoles
instance.CopyDatabaseRoles = value
bool CopyDatabaseRoles { get; set; }
property bool CopyDatabaseRoles {
bool get ();
void set (bool value);
}
abstract CopyDatabaseRoles : bool with get, set
function get CopyDatabaseRoles () : boolean
function set CopyDatabaseRoles (value : boolean)
Property Value
Type: System.Boolean
true if database roles are transferred from the source to the target database; otherwise, false.
See Also
Reference
ITransferSqlServerObjectsTask Interface
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace