Udostępnij za pośrednictwem


IDTSPipeline90.AutoGenerateIDForNewObjects Property

Gets or sets a value that specifies whether the 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)> _
Property AutoGenerateIDForNewObjects As Boolean
[DispIdAttribute(15)] 
bool AutoGenerateIDForNewObjects { get; set; }
[DispIdAttribute(15)] 
property bool AutoGenerateIDForNewObjects {
    bool get ();
    void set ([InAttribute] bool pbAutoGenerateIDForNewObjects);
}
/** @property */
/** @attribute DispIdAttribute(15) */ 
boolean get_AutoGenerateIDForNewObjects ()

/** @property */
/** @attribute DispIdAttribute(15) */ 
void set_AutoGenerateIDForNewObjects (/** @attribute InAttribute() */ boolean pbAutoGenerateIDForNewObjects)
DispIdAttribute(15) 
function get AutoGenerateIDForNewObjects () : boolean

DispIdAttribute(15) 
function set AutoGenerateIDForNewObjects (pbAutoGenerateIDForNewObjects : boolean)

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 then 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

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