TransferDatabaseTask.Method Property
Gets or sets a value from the TransferMethod enumeration indicating whether to use Online or Offline transfer method.
Namespace: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly: Microsoft.SqlServer.TransferDatabasesTask (in microsoft.sqlserver.transferdatabasestask.dll)
Syntax
'Declaration
Public Property Method As TransferMethod
public TransferMethod Method { get; set; }
public:
virtual property TransferMethod Method {
TransferMethod get () sealed;
void set (TransferMethod value) sealed;
}
/** @property */
public final TransferMethod get_Method ()
/** @property */
public final void set_Method (TransferMethod value)
public final function get Method () : TransferMethod
public final function set Method (value : TransferMethod)
Property Value
A value from the TransferMethod enumeration.
Remarks
When using the DatabaseOnline method, the user needs to be either sysadmin or dbo on the source server.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
TransferDatabaseTask Class
TransferDatabaseTask Members
Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace