共用方式為


MainPipeClass.AutoGenerateIDForNewObjects Property

Gets or sets a value that specifies whether a data flow automatically generates and sets the ID property for newly created objects.

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

語法

'宣告
<DispIdAttribute(15)> _
Public Overridable Property AutoGenerateIDForNewObjects As Boolean Implements IDTSPipeline90.AutoGenerateIDForNewObjects
[DispIdAttribute(15)] 
public virtual bool IDTSPipeline90.AutoGenerateIDForNewObjects { get; set; }
[DispIdAttribute(15)] 
public:
virtual property bool AutoGenerateIDForNewObjects {
    bool get () = IDTSPipeline90::AutoGenerateIDForNewObjects::get;
    void set ([InAttribute] bool pbAutoGenerateIDForNewObjects) = IDTSPipeline90::AutoGenerateIDForNewObjects::set;
}
J# 支援明確介面實作的使用,但不支援新明確介面實作的宣告。
JScript 支援明確介面實作的使用,但不支援新明確介面實作的宣告。

屬性值

true if the data flow automatically generates the ID for new objects; otherwise, false. The default is true.

備註

If this property is set to false, you must explicitly set the ID property of newly created data flow objects.

執行緒安全性

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.

平台

開發平台

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

目標平台

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

請參閱

參考

MainPipeClass Class
MainPipeClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace