Compartir a través de


IDTSCustomProperty90.State Property

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

Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintaxis

'Declaración
<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)

Valor de propiedad

A value from the DTSPersistState enumeration.

Notas

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.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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