IAdgObject interface.Duplicate Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Duplicates the ADG object.
void Duplicate(string ScopePath, string TargetPath, string NewName, DuplicateOptions options)
Duplicates the ADG object.
Remarks
This method is used to create a duplicate of the ADG object. The ScopePath parameter specifies the path of the object to duplicate. The TargetPath parameter specifies the path where the duplicate object will be placed. The NewName parameter specifies the name for the duplicate object. The options parameter specifies the options for the duplication operation, such as whether to overwrite existing objects.
void Duplicate(string ScopePath, string TargetPath, string NewName, DuplicateOptions options)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| String | ScopePath | The scope path of the object to duplicate. |
| String | TargetPath | The target path where the duplicate object will be placed. |
| String | NewName | The new name for the duplicate object. |
| DuplicateOptions | options | The options for the duplication operation. |