Condividi tramite


Proprietà CopyObjectLevelPermissions

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintassi

'Dichiarazione
Public Property CopyObjectLevelPermissions As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferSqlServerObjectsTask. . :: . .CopyObjectLevelPermissions

Osservazioni

The default value is true. For more information on permissions, see Gerarchia delle autorizzazioni (Motore di database).