다음을 통해 공유


XMLTask 클래스

Contains the members used to run several XML tasks, depending on the OperationType property, which is a value from the DTSXMLOperation enumeration. This class cannot be inherited.

상속 계층

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

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

구문

‘선언
<GuidAttribute("67EA6C7C-6030-4194-A3C0-C52455A70ADD")> _
Public NotInheritable Class XMLTask _
    Inherits Task _
    Implements IDTSXMLTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
‘사용 방법
Dim instance As XMLTask
[GuidAttribute("67EA6C7C-6030-4194-A3C0-C52455A70ADD")]
public sealed class XMLTask : Task, 
    IDTSXMLTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[GuidAttribute(L"67EA6C7C-6030-4194-A3C0-C52455A70ADD")]
public ref class XMLTask sealed : public Task, 
    IDTSXMLTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[<SealedAttribute>]
[<GuidAttribute("67EA6C7C-6030-4194-A3C0-C52455A70ADD")>]
type XMLTask =  
    class 
        inherit Task 
        interface IDTSXMLTask 
        interface IDTSBreakpointSite 
        interface IDTSSuspend 
        interface IDTSComponentPersist 
    end
public final class XMLTask extends Task implements IDTSXMLTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist

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

생성자

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

맨 위로 이동

속성

  이름 설명
공용 속성 DebugMode A Boolean that indicates if a task should check if any breakpoints are enabled.
공용 속성 Destination Gets or sets the name of the connection or the variable to which the XML task saves the results of the operation.
공용 속성 DestinationType Gets or sets a DTSXMLSaveResultTo enumeration value that indicates the type of destination to which the XML task saves the XML document.
공용 속성 DiffAlgorithm Gets or sets the comparison algorithm to use when the OperationType is Diff.
공용 속성 DiffGramDestination Gets or sets the name of the connection or the variable to which the XML task saves the DiffGram document.
공용 속성 DiffGramDestinationType Gets or sets a value that indicates the type of destination to which the XML task saves the DiffGram document.
공용 속성 DiffOptions Gets or sets a value that indicates the options the operation uses when comparing documents.
공용 속성 ExecutionValue Returns the result of the task execution. (Task.ExecutionValue을(를) 재정의함)
공용 속성 FailOnDifference Gets or sets a Boolean that indicates whether the task fails if the XML document fails to validate according to the validation schema.
공용 속성 FailOnValidationFail Gets or sets a Boolean that indicates whether the operation fails when a validation fails.
공용 속성 Namespaces Gets or sets the collection of namespaces for the XML task.
공용 속성 NodeList Gets an ArrayList class that contains a collection of nodes that the XPath operation produces.
공용 속성 OperationType Gets or sets a DTSXMLOperation enumeration value that indicates the type of the operation that the task performs, such as validation or merging.
공용 속성 OverwriteDestination Gets or sets a Boolean that indicates whether the operation overwrites existing destination files.
공용 속성 PutResultInOneNode Gets or sets a Boolean that indicates whether the operation places the result in one node.
공용 속성 SaveDiffGram Gets or sets a Boolean that indicates whether the comparison result, a DiffGram document, is saved.
공용 속성 SaveOperationResult Gets or sets a Boolean that indicates whether the XML task saves the Diff operation output.
공용 속성 SecondOperand Gets or sets the name of the connection, the variable, or the user-provided text that is the second operand in an operation that uses two operands. The second operand may be an XML document, a DiffGram, an XSLT, an XPath, or a validating document, depending on the operation.
공용 속성 SecondOperandType Gets or sets a value that indicates the type of source that contains the XML document, the DiffGram, the XSLT, the XPath, or the validating document, found in the SecondOperand.
공용 속성 Source Gets or sets the name of the connection, the variable, or the user-provided text that is the source the operation uses.
공용 속성 SourceType Gets or sets a value from the DTSXMLSourceType enumeration that indicates the type of source that contains the XML document the operation uses.
공용 속성 SuspendRequired Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
공용 속성 ValidationType Gets or sets a DTSXMLValidationType enumeration value that indicates the type of validation the operation uses.
공용 속성 Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Task에서 상속됨)
공용 속성 XPathOperation Gets or sets a DTSXMLXPathOperation enumeration value that indicates the XPath operation to perform.
공용 속성 XPathStringSource Gets or sets the source of the XPath expression.
공용 속성 XPathStringSourceType Gets or sets a value from the DTSXMLSourceType enumeration that indicates the type of the source that contains the XPath expression in the XPathStringSource property.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AcceptBreakpointManager Passes a BreakpointManager to a task. The task will use the breakpoint manager to create, remove, and check the status of breakpoints. 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 this 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 runtime 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 runtime 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 component is properly configured. (Task.Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)을(를) 재정의함)

맨 위로 이동

주의

For more information, see XML 태스크.

스레드 보안

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

참고 항목

참조

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