StructuralConnectionApprovalType.Create
Method
Description:
Creates a new StructuralConnectionApprovalType.
Creates a new StructuralConnectionApprovalType.
Parameters
| Parameter | Type | Description |
|---|---|---|
| doc | Document | |
| name | String | A name for the new approval type. It must be unique within the document. |
Return Value
| Type | Description |
|---|---|
| StructuralConnectionApprovalType | Created connection approval type. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentsInconsistentException | The input name for approval type is not unique in the document. |