TransferSqlServerObjectsTask.CopyObjectLevelPermissions Property
Gets or sets a Boolean indicating whether securable objects are included in the transfer from the source to the target database.
Namespace: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly: Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Syntax
'Declaration
Public Property CopyObjectLevelPermissions As Boolean
Get
Set
'Usage
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean
value = instance.CopyObjectLevelPermissions
instance.CopyObjectLevelPermissions = value
public bool CopyObjectLevelPermissions { get; set; }
public:
virtual property bool CopyObjectLevelPermissions {
bool get () sealed;
void set (bool value) sealed;
}
abstract CopyObjectLevelPermissions : bool with get, set
override CopyObjectLevelPermissions : bool with get, set
final function get CopyObjectLevelPermissions () : boolean
final function set CopyObjectLevelPermissions (value : boolean)
Property Value
Type: System.Boolean
true indicates that securable objects are transferred from the source to the target database.
Implements
ITransferSqlServerObjectsTask.CopyObjectLevelPermissions
Remarks
The default value is true. For more information on permissions, see Permissions Hierarchy (Database Engine).
See Also
Reference
TransferSqlServerObjectsTask Class
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace