共用方式為


DTSPersistState Enumeration

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

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
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.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace