C++ C#

SetName(string) Method

Class: AssociationType

Sets the Name of the AssociationType

public void SetName(string name)

Parameters

Type Name Description
string name Name of the AssociationType

Returns: void

Errors

Errors cause a Platform::Exception to be thrown with the following HResult and Message

HResult Message
3905 AssociationType with this name exists
3904 AttributeType with this name exists
3000 Invalid name