Partilhar via


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.

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

Syntax

'Declaration
<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# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

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

Remarks

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

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

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