Compartilhar via


Propriedade do RDL MainPipeClass.AutoGenerateIDForNewObjects

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 (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
Public Overridable Property AutoGenerateIDForNewObjects As Boolean 
    Get 
    Set
'Uso
Dim instance As MainPipeClass 
Dim value As Boolean 

value = instance.AutoGenerateIDForNewObjects

instance.AutoGenerateIDForNewObjects = value
public virtual bool AutoGenerateIDForNewObjects { get; set; }
public:
virtual property bool AutoGenerateIDForNewObjects {
    bool get ();
    void set (bool value);
}
abstract AutoGenerateIDForNewObjects : bool with get, set 
override AutoGenerateIDForNewObjects : bool with get, set
function get AutoGenerateIDForNewObjects () : boolean 
function set AutoGenerateIDForNewObjects (value : boolean)

Valor da propriedade

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

Implementa

IDTSPipeline100.AutoGenerateIDForNewObjects

Comentários

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

Consulte também

Referência

MainPipeClass Classe

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper