Свойство TransferSqlServerObjectsTask.CopyDatabaseRoles
Gets or sets a Boolean indicating whether database roles are transferred from the source to the target database.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Сборка: Microsoft.SqlServer.TransferSqlServerObjectsTask (в Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Синтаксис
'Декларация
Public Property CopyDatabaseRoles As Boolean
Get
Set
'Применение
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean
value = instance.CopyDatabaseRoles
instance.CopyDatabaseRoles = value
public bool CopyDatabaseRoles { get; set; }
public:
virtual property bool CopyDatabaseRoles {
bool get () sealed;
void set (bool value) sealed;
}
abstract CopyDatabaseRoles : bool with get, set
override CopyDatabaseRoles : bool with get, set
final function get CopyDatabaseRoles () : boolean
final function set CopyDatabaseRoles (value : boolean)
Значение свойства
Тип: System.Boolean
true indicates that database roles are transferred from the source to the target database.
Реализует
ITransferSqlServerObjectsTask.CopyDatabaseRoles
Замечания
The default value is true.
См. также
Справочник
TransferSqlServerObjectsTask Класс
Пространство имен Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask