Unique Id PropertyAssign New Id Method
This can be called to automatically create and assign a unique ID to the property
Definition
Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
It returns the new or existing unique ID
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public string AssignNewId(
bool forceNew
)VB
Public Function AssignNewId (
forceNew As Boolean
) As StringC++
public:
String^ AssignNewId(
bool forceNew
)F#
member AssignNewId :
forceNew : bool -> string Parameters
- forceNew Boolean
- If true, a new unique ID is assigned regardless of whether one already exists. If false and the object already has a unique ID, it keeps the old one.
Return Value
StringIt returns the new or existing unique ID