Udostępnij za pośrednictwem


DTSPersistState Enumeration

Specifies how an IDTSCustomProperty90 is persisted in the package XML file.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
Public Enumeration DTSPersistState
public enum DTSPersistState
public enum class DTSPersistState
public enum DTSPersistState
public enum DTSPersistState

Members

Member name Description
PS_DEFAULT Specifies to persist the property directly in the package XML.
PS_PERSISTASCDATA Specifies to wrap the property value in a CDATA section in the XML for the package.
PS_PERSISTASHEX Specifies to store the property value as a hexadecimal value in the package XML.

Remarks

The State property of a IDTSCustomProperty90 defaults to PS_DEFAULT.

If a custom property might contain invalid characters in its value, components should use the PS_PERSISTASCDATA field.

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

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace