语言

IDTSCustomProperty100.State 属性

定义

从 一个 DTSPersistState 获取或设置一个值,控制该值如何 IDTSCustomProperty100 存储在包 XML 中。

public:
 property Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState State { Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState get(); void set(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState value); };
[System.Runtime.InteropServices.DispId(102)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSPersistState State { [System.Runtime.InteropServices.DispId(102)] get; [System.Runtime.InteropServices.DispId(102)] set; }
[<System.Runtime.InteropServices.DispId(102)>]
[<get: System.Runtime.InteropServices.DispId(102)>]
[<set: System.Runtime.InteropServices.DispId(102)>]
member this.State : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSPersistState with get, set
Public Property State As DTSPersistState

属性值

枚举中的 DTSPersistState 值。

属性

注解

默认值为 PS_DEFAULT ,表示属性值直接存储在包 XML 中的 XML 元素中。 包含 XML 文档中无效值的属性应指定 PS_PERSISTASCDATA,将 XML 元素值包裹在 CDATA 部分,确保包正确持久化。

适用于