Transfer Clase
The Transfer object is a tool object that provides programmatic control over copying of schemas and data to other instances of SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Class Transfer _
Implements ITransferMetadataProvider
'Uso
Dim instance As Transfer
public class Transfer : ITransferMetadataProvider
public ref class Transfer : ITransferMetadataProvider
type Transfer =
class
interface ITransferMetadataProvider
end
public class Transfer implements ITransferMetadataProvider
Notas
There are some limitations when transferring a database to a server instance that is running SQL Server 2000:
If the database has a schema for which there is no corresponding user on the target SQL Server 2000 server instance, it cannot be transferred. In this case, you have to create a user who has a name that is the same as the name of the schema.
Any object that uses the following data types cannot be transferred:
SqlDataType.Xml
SqlDataType.VarCharMax
SqlDataType.NVarCharMax
SqlDataType.VarBinaryMax
The following object types cannot be transferred:
All broker objects
All mail objects
Endpoint
ServerDdlTrigger
ExtendedStoredProcedure
FullTextCatalog
UserDefinedMessage
ApplicationRole
To get and set Transfer object properties, users can be a member of the public fixed server role.
To transfer data, users can be a member of the public fixed server role.
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..Transfer
Seguridad para subprocesos
Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.