다음을 통해 공유


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 네임스페이스