Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Microsoft.SqlServer.Dts.Tasks.XMLTask Namespace

 

Applies To: SQL Server 2016 Preview

The Microsoft.SqlServer.Dts.Tasks.XMLTask namespace contains the interfaces and classes used for the XML Task, which is used to work with XML data. Using this task, a package can retrieve XML documents stored in files, apply operations to the documents using XSL Transformations, (XSLT) style sheets, and XPath expressions, merge multiple documents, and validate, compare, and save the updated documents to files and variables.

ClassDescription
System_CAPS_pubclassNamespaceDeclaration

Declares the identifier and the prefix of a XML namespace by storing these string values as separate properties.

System_CAPS_pubclassNSCollectionEditor

Represents the namespace collection editor.

System_CAPS_pubclassXmlDiffPerf

This API supports the product infrastructure and is not intended to be used directly from your code. Represents a XmlDiffPerf class.

System_CAPS_pubclassXMLTask

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.

InterfaceDescription
System_CAPS_pubinterfaceIDTSXMLTask

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the DTS XML task.

EnumerationDescription
System_CAPS_pubenumDTSXMLDiffAlgorithm

Specifies which algorithm to use when comparing XML documents.

System_CAPS_pubenumDTSXMLDiffOptions

When the XMLTask has an OperationType set to Diff, then this enumeration is used to sets the options that affect the behavior of the comparison, as well as the resulting XDL DiffGram. The enumerations used will determine what items are included for consideration during the comparison.

System_CAPS_pubenumDTSXMLOperation

Specifies the operations used when working with XML documents.

System_CAPS_pubenumDTSXMLSaveResultTo

Describes the location where the results are saved. This enumeration is used to set the DestinationType property. Depending on value, the Destination property must be compatible. For example, if the destination type is set to Variable, then the destination property must provide a variable to save the results into. When the destination type is set to FileConnection, then the Destination property must provide a file connection manager.

System_CAPS_pubenumDTSXMLSourceType

Describes the location of the SourceType, the source type of the XPath string in XPathStringSourceType, and the type of the second operand in SecondOperandType. Depending on what the type is used, the Source, XPathStringSource, and SecondOperand properties must be compatible. For example, if the SourceType is set to FileConnection, then the Source must contain a connection manager. If the SourceType is Variable, then the Source must point to the variable to use.

System_CAPS_pubenumDTSXMLValidationType

Specifies the type of validation that the operation uses. This enumeration is only used when the OperationType is Validate. The default is an XML Schema, which is a value of XSD.

System_CAPS_pubenumDTSXMLXPathOperation

Determines what type of XPATH functionality is performed. This enumeration is used by the XPathOperation.

For more information, see XML Task.

Return to top

Community Additions

Show:
© 2015 Microsoft