Compartilhar via


Propriedade do RDL TransferLoginsTask.CopySids

Gets or setsa Boolean indicating whether the security identifiers associated with the logins should be copied to the destination.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask
Assembly:  Microsoft.SqlServer.TransferLoginsTask (em Microsoft.SqlServer.TransferLoginsTask.dll)

Sintaxe

'Declaração
Public Property CopySids As Boolean 
    Get 
    Set
'Uso
Dim instance As TransferLoginsTask 
Dim value As Boolean 

value = instance.CopySids

instance.CopySids = value
public bool CopySids { get; set; }
public:
virtual property bool CopySids {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract CopySids : bool with get, set 
override CopySids : bool with get, set
final function get CopySids () : boolean 
final function set CopySids (value : boolean)

Valor da propriedade

Tipo: System.Boolean
true if the security identifiers associated with the logins are copied.

Implementa

ITransferLoginsTask.CopySids

Comentários

If this task is used in conjunction with attaching a database, this CopySids property must be true or the logins will not be recognized by the newly attached database.

Consulte também

Referência

TransferLoginsTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.TransferLoginsTask