Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TransferBase.CopyAllRoles Property

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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public bool CopyAllRoles { get; set; }

Property Value

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

Community Additions

Show:
© 2015 Microsoft