다음을 통해 공유


TransferSqlServerObjectsTask 클래스

Contains the methods and properties that allow you to copy various SQL Server objects from one server to another. This class cannot be inherited.

상속 계층

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask.TransferSqlServerObjectsTask

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
어셈블리:  Microsoft.SqlServer.TransferSqlServerObjectsTask(Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

구문

‘선언
<GuidAttribute("DB493BD0-194A-47BA-8084-511537354DD4")> _
Public NotInheritable Class TransferSqlServerObjectsTask _
    Inherits Task _
    Implements ITransferSqlServerObjectsTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
‘사용 방법
Dim instance As TransferSqlServerObjectsTask
[GuidAttribute("DB493BD0-194A-47BA-8084-511537354DD4")]
public sealed class TransferSqlServerObjectsTask : Task, 
    ITransferSqlServerObjectsTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[GuidAttribute(L"DB493BD0-194A-47BA-8084-511537354DD4")]
public ref class TransferSqlServerObjectsTask sealed : public Task, 
    ITransferSqlServerObjectsTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[<SealedAttribute>]
[<GuidAttribute("DB493BD0-194A-47BA-8084-511537354DD4")>]
type TransferSqlServerObjectsTask =  
    class 
        inherit Task 
        interface ITransferSqlServerObjectsTask 
        interface IDTSBreakpointSite 
        interface IDTSSuspend 
        interface IDTSComponentPersist 
    end
public final class TransferSqlServerObjectsTask extends Task implements ITransferSqlServerObjectsTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist

TransferSqlServerObjectsTask 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 TransferSqlServerObjectsTask Initializes a new instance of the TransferSqlServerObjectsTask class.

맨 위로 이동

속성

  이름 설명
공용 속성 CopyAllDefaults Gets or sets a Boolean indicating that the transfer includes the SQL Server defaults.
공용 속성 CopyAllDRIObjects Gets or sets a value that indicates whether the task copies all objects that are related to declarative referential integrity (DRI).
공용 속성 CopyAllLogins 더 이상 사용되지 않습니다. Gets or sets a Boolean indicating whether all the SQL Server logins are copied from the source database to the target database in the transfer operation, or only the specified logins.
공용 속성 CopyAllObjects Gets or sets a Boolean indicating whether all SQL Server database objects are transferred from the source to the target database, or only the specified objects. The following SQL Server database objects can be transferred: defaults, rules, stored procedures, tables, triggers, user-defined data types, and views.
공용 속성 CopyAllPartitionFunctions Gets or sets a Boolean indicating whether all SQL Server partitions are transferred from the source to the target database, or only the specified partitions.
공용 속성 CopyAllPartitionSchemes Gets or sets a Boolean indicating whether all SQL Server partition schemes are transferred from the source to the target database, or only the specified partition schemes.
공용 속성 CopyAllRules Gets or sets a Boolean indicating whether all SQL Server rules are transferred from the source to the target database, or only the specified rules.
공용 속성 CopyAllSchemas Gets or sets a Boolean indicating whether all SQL Server schemas are transferred from the source to the target database, or only the specified schemas.
공용 속성 CopyAllSqlAssemblies Gets or sets a Boolean indicating whether all SQL Server assemblies are transferred from the source to the target database, or only the specified assemblies.
공용 속성 CopyAllStoredProcedures Gets or sets a Boolean indicating whether all SQL Server stored procedures are transferred from the source to the target database, or only the specified stored procedures.
공용 속성 CopyAllTables Gets or sets a Boolean indicating whether all SQL Server tables are transferred from the source to the target database, or only the specified tables.
공용 속성 CopyAllUserDefinedAggregates Gets or sets a Boolean indicating whether all user-defined aggregates are transferred from the source to the target database, or only the specified user-defined aggregates.
공용 속성 CopyAllUserDefinedDataTypes Gets or sets a Boolean indicating whether all user-defined data types are transferred from the source to the target database, or only the specified user-defined data types.
공용 속성 CopyAllUserDefinedFunctions Gets or sets a Boolean indicating whether all user-defined functions are transferred from the source to the target database, or only the specified user-defined functions.
공용 속성 CopyAllUserDefinedTypes Gets or sets a Boolean indicating whether all user-defined types are transferred from the source to the target database, or only the specified user-defined types.
공용 속성 CopyAllUsers 더 이상 사용되지 않습니다. Gets or sets a Boolean indicating whether all the SQL Server database users are copied from the source database to the target database, or only the specified users.
공용 속성 CopyAllViews Gets or sets a Boolean indicating whether all SQL Server views are transferred from the source to the target database, or only the specified views.
공용 속성 CopyAllXmlSchemaCollections Gets or sets a Boolean indicating whether all XML schema collections are transferred from the source to the target database, or only the specified XML schema collections.
공용 속성 CopyData Gets or sets a Boolean indicating whether data is included as part of the transfer of tables and views from the SQL Server source to the target database.
공용 속성 CopyDatabaseRoles Gets or sets a Boolean indicating whether database roles are transferred from the source to the target database.
공용 속성 CopyDatabaseUsers Gets or sets a Boolean indicating whether database users are transferred from the source to the target database.
공용 속성 CopyForeignKeys Gets or sets a Boolean indicating whether foreign keys are transferred from the source to the target database.
공용 속성 CopyFullTextIndexes Gets or sets a Boolean indicating whether full-text properties are transferred from the source to the target database.
공용 속성 CopyIndexes Gets or sets a Boolean indicating whether indexes are transferred from the source to the target database.
공용 속성 CopyObjectLevelPermissions Gets or sets a Boolean indicating whether securable objects are included in the transfer from the source to the target database.
공용 속성 CopyPrimaryKeys Gets or sets a Boolean indicating whether primary keys are transferred from the source to the target database.
공용 속성 CopySchema Gets or sets a Boolean that specifies whether the schema is copied in the transfer operation. This property is only available for SQL Server 2005 or later versions.
공용 속성 CopySqlServerLogins Gets or sets a Boolean indicating whether SQL Server logins are included in the transfer from the source to the target database.
공용 속성 CopyTriggers Gets or sets a Boolean indicating whether triggers are included in the transfer from the source to the target database.
공용 속성 DebugMode Gets or sets a Boolean that indicates whether a task should determine whether breakpoints are enabled.
공용 속성 DefaultsList Gets or sets a StringCollection containing the default objects to transfer when the CopyAllDefaults is set to false.
공용 속성 DestinationConnection Gets or sets a String containing the name of the SMO connection manager for the destination database.
공용 속성 DestinationDatabase Gets or sets a String containing the name of the destination database.
공용 속성 DestinationTranslateChar Gets or sets a Boolean indicating the value of AutoTranslate in the OLE DB destination connection string.
공용 속성 DropObjectsFirst Gets or sets a Boolean that indicates whether the objects that have been selected for transfer from the source are dropped first on the destination server before the transfer begins.
공용 속성 ExecutionValue Returns an object containing the count of the number of objects transferred. (Task.ExecutionValue을(를) 재정의함)
공용 속성 ExistingData Gets or sets a value from the ExistingData enumeration to determine whether data should be appended to existing data, or have the existing data replaced by being overwritten.
공용 속성 GenerateScriptsInUnicode Gets or sets a Boolean that indicates whether the script generated is in Unicode format.
공용 속성 IncludeDependentObjects Gets or sets a Boolean that indicates whether the dependent objects are included in the transfer.
공용 속성 IncludeExtendedProperties Gets or sets a Boolean indicating whether extended properties are transferred from the source to the target database.
공용 속성 LoginsList Gets or sets a StringCollection containing the SQL Server logins to transfer from the source database to the destination database when CopyAllLogins is false.
공용 속성 PartitionFunctionsList Gets or sets a StringCollection containing the partition functions to transfer from the source database to the destination database when the CopyAllPartitionFunctions is false.
공용 속성 PartitionSchemesList Gets or sets a StringCollection containing the partition schemes to transfer from the source database to the destination database when CopyAllPartitionSchemes is false.
공용 속성 RulesList Gets or sets a StringCollection containing the rules to transfer from the source database to the destination database when CopyAllRules is false.
공용 속성 SchemasList Gets or sets a StringCollection containing the list of schemas to transfer from the source database to the destination database when CopyAllSchemas is false.
공용 속성 SourceConnection Gets or sets a String containing the name of the SMO connection manager for the source database.
공용 속성 SourceDatabase Gets or sets a String containing the name of the database from which objects will be transferred.
공용 속성 SourceTranslateChar Gets or sets a Boolean indicating the value of AutoTranslate in the OLE DB source connection string.
공용 속성 SqlAssembliesList Gets or sets a StringCollection listing the SQL Server assemblies to transfer when CopyAllSqlAssemblies is false.
공용 속성 StoredProceduresList Gets or sets a StringCollection listing the stored procedures to transfer when CopyAllStoredProcedures is false.
공용 속성 SuspendRequired Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint. This value is set by the run-time engine for tasks and containers when a breakpoint is encountered.
공용 속성 TablesList Gets or sets a StringCollection listing the tables to transfer when CopyAllTables is false.
공용 속성 UseCollation Gets or sets a Boolean indicating whether the transfer should use collations.
공용 속성 UserDefinedAggregatesList Gets or sets a StringCollection listing the user-defined aggregates to transfer when CopyAllUserDefinedAggregates is false.
공용 속성 UserDefinedDataTypesList Gets or sets a StringCollection listing the user-defined data types to transfer when CopyAllUserDefinedDataTypes is false.
공용 속성 UserDefinedFunctionsList Gets or sets a StringCollection listing the user-defined functions to transfer when CopyAllUserDefinedFunctions is false.
공용 속성 UserDefinedTypesList Gets or sets a StringCollection listing the user-defined types to transfer when CopyAllUserDefinedTypes is false.
공용 속성 UsersList Gets or sets a StringCollection containing the SQL Server database users to transfer from the source database to the destination database when CopyAllUsers is false.
공용 속성 Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Task에서 상속됨)
공용 속성 ViewsList Gets or sets a StringCollection listing the views to transfer when CopyAllViews is false.
공용 속성 XmlSchemaCollectionsList Gets or sets a StringCollection listing the XML schema collections to transfer when CopyAllXmlSchemaCollections is false.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AcceptBreakpointManager Passes a BreakpointManager to a task. This method is called by the runtime and is not used in code.
공용 메서드 CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (Task에서 상속됨)
공용 메서드 Equals Determines whether two object instances are equal. (DtsObject에서 상속됨)
공용 메서드 Execute Runs the task. (Task.Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)을(를) 재정의함)
공용 메서드 GetConnectionID Gets a String containing the ID of the connection. (Task에서 상속됨)
공용 메서드 GetConnectionName Gets a String containing the name of the connection. (Task에서 상속됨)
공용 메서드 GetHashCode Returns the hash code for this instance. (DtsObject에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 InitializeTask Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (Task.InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)을(를) 재정의함)
공용 메서드 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
공용 메서드 ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the run-time engine.
공용 메서드 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
공용 메서드 SuspendExecution Indicates that the executable needs to suspend. This method is called by the run-time engine.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (Task에서 상속됨)
공용 메서드 Validate Verifies that the task is properly configured. (Task.Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)을(를) 재정의함)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask 네임스페이스