IDTSCustomProperty100.State 属性

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

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Property State As DTSPersistState 
    Get 
    Set
用法
Dim instance As IDTSCustomProperty100 
Dim value As DTSPersistState 

value = instance.State

instance.State = value
DTSPersistState State { get; set; }
property DTSPersistState State {
    DTSPersistState get ();
    void set (DTSPersistState value);
}
abstract State : DTSPersistState with get, set
function get State () : DTSPersistState 
function set State (value : DTSPersistState)

属性值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSPersistState
A value from the DTSPersistState enumeration.

注释

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.

请参阅

参考

IDTSCustomProperty100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间