Partager via


Propriété CopyObjectLevelPermissions

Gets or sets a Boolean indicating whether securable objects are included in the transfer from the source to the target database.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly :  Microsoft.SqlServer.TransferSqlServerObjectsTask (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntaxe

'Déclaration
Public Property CopyObjectLevelPermissions As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
true indicates that securable objects are transferred from the source to the target database.

Implémente

ITransferSqlServerObjectsTask. . :: . .CopyObjectLevelPermissions

Notes

The default value is true. For more information on permissions, see Hiérarchie des autorisations (moteur de base de données).