Transfer Constructor (Database)
Initializes a new instance of the Transfer class that uses the specified database as the source of the transfer operation.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
database As Database _
)
public Transfer (
Database database
)
public:
Transfer (
Database^ database
)
public Transfer (
Database database
)
public function Transfer (
database : Database
)
Parameters
- database
A Database object that specifies the database that is the source of the transfer operation.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Transfer Schema and Data from One Database to Another in Visual Basic .NET
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
Transfer Class
Transfer Members
Microsoft.SqlServer.Management.Smo Namespace