Share via


IDTSCustomProperty90.State Property

Gets or sets a value from a DTSPersistState that controls how the IDTSCustomProperty90 value is stored in the package XML.

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

Syntax

'Declaration
<DispIdAttribute(102)> _
Property State As DTSPersistState
[DispIdAttribute(102)] 
DTSPersistState State { get; set; }
[DispIdAttribute(102)] 
property DTSPersistState State {
    DTSPersistState get ();
    void set ([InAttribute] DTSPersistState pePropertyState);
}
/** @property */
/** @attribute DispIdAttribute(102) */ 
DTSPersistState get_State ()

/** @property */
/** @attribute DispIdAttribute(102) */ 
void set_State (/** @attribute InAttribute() */ DTSPersistState pePropertyState)
DispIdAttribute(102) 
function get State () : DTSPersistState

DispIdAttribute(102) 
function set State (pePropertyState : DTSPersistState)

Property Value

A value from the DTSPersistState enumeration.

Remarks

The default value is PS_DEFAULT and indicates the property value is stored directly in the XML element in the package XML. Properties that contain values that are not valid in an XML document should specify PS_PERSISTASCDATA, which wraps the XML element value in a CDATA section, ensuring the package is persisted correctly.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

IDTSCustomProperty90 Interface
IDTSCustomProperty90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace