Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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)
Syntax
'Declaration
Public Property CopyAllRoles As Boolean
Get
Set
'Usage
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)
Property Value
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.