Partager via


Propriété TransferBase.CopyAllRoles

Gets or sets a value that indicates whether all the SQL Server roles are copied from the source database to the target database in the transfer operation.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property CopyAllRoles As Boolean 
    Get 
    Set
'Utilisation
Dim instance As TransferBase 
Dim value As Boolean 

value = instance.CopyAllRoles

instance.CopyAllRoles = value
public bool CopyAllRoles { get; set; }
public:
property bool CopyAllRoles {
    bool get ();
    void set (bool value);
}
member CopyAllRoles : bool with get, set
function get CopyAllRoles () : boolean 
function set CopyAllRoles (value : boolean)

Valeur de propriété

Type : System.Boolean
true if all SQL Server roles are copied from the source database to the target database; otherwise, false. The default is false.

Voir aussi

Référence

TransferBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo