Set or remove any categories on a project

Namespace: SynergyClientAPI.Projects
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

Public Shared Function UpdateCategories( _ 
ByVal project_id As EntityID, _ 
ByVal categories_to_set As HashSet(Of EntityID), _ 
ByVal categories_to_delete As HashSet(Of EntityID), _ 
Optional ByVal waiter As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse UpdateCategories( 
EntityID project_id
HashSet<EntityID> categories_to_set
HashSet<EntityID> categories_to_delete
IASyncWait waiter = null 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ UpdateCategories( 
EntityID^ project_id
HashSet<EntityID^>^ categories_to_set
HashSet<EntityID^>^ categories_to_delete
IASyncWait^ waiter 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

project_id
Type: EntityID

the project to set categories for

categories_to_set
Type: HashSet<EntityID>

any categories to set on the project

categories_to_delete
Type: HashSet<EntityID>

the categories to delete

waiter
Type: IASyncWait

an optional waiter

Return Value

Type: OperationResponse

the result of the operation

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1