Export (0) Print
Expand All

Transfer.CopyAllRoles Property

Gets or sets the Boolean property value that specifies whether all the Microsoft SQL Server roles are copied from the source database to the target database in the transfer operation.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public bool CopyAllRoles { get; set; }
/** @property */
public boolean get_CopyAllRoles ()

/** @property */
public void set_CopyAllRoles (boolean value)

public function get CopyAllRoles () : boolean

public function set CopyAllRoles (value : boolean)

Property Value

A Boolean value that specifies whether SQL Server roles are copied in the transfer operation. If True, all SQL Server roles are copied from the source database to the target database. If False (default), all SQL Server roles are not copied from the source database to the target database.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft