UpdateBehaviorAssignmentTypes Method
Updates the behavior classes for specific behavior objects.
Required Permissions
ManageBehaviorDefinitionSyntax
public void UpdateBehaviorAssignmentTypes(
System.string entityClassId,
System.string behaviorClassName,
AllowNoBehavior allowNoBehavior,
System.long[] behaviorIds,
BehaviorAssignmentType[] behaviorAssignTypes,
System.bool disableAllThenApply
)Public Sub UpdateBehaviorAssignmentTypes( _
ByVal entityClassId As System.String, _
ByVal behaviorClassName As System.String, _
ByVal allowNoBehavior As AllowNoBehavior, _
ByVal behaviorIds() As System.Long, _
ByVal behaviorAssignTypes() As BehaviorAssignmentType, _
ByVal disableAllThenApply As System.Boolean _
) Parameters
| Name | Description |
|---|---|
| entityClassId | The entity class ID. |
| behaviorClassName | The name of the behavior class. Currently there are only 3 allowed names: "Category", "RevisionScheme", or "LifeCycle". |
| allowNoBehavior | Tells if the "None" behavior is allowed. |
| behaviorIds | An array of behavior IDs. This array must be the same size as behaviorAssignTypes. |
| behaviorAssignTypes | How the behavior should be assigned. This array must be the same size as behaviorIds. |
| disableAllThenApply | If true, everything is disabled before the change is made and re-enabled after the change is complete. |
Remarks
This function does not support property behaviors.