AddAssociationPropertyDefinition Method
Adds a Property Definiton for use on associations.
Required Permissions
ManagePropertyDefinitionSyntax
public AssocPropDefInfo AddAssociationPropertyDefinition(
System.string systemName,
System.string displayName,
DataType dataType,
System.bool isActive,
System.object defaultValue,
EntClassCtntSrcPropCfg[] entityClassCtntSrcPropDefs,
System.object[] listValues,
AssocPropTyp relClass
)Public Function AddAssociationPropertyDefinition( _
ByVal systemName As System.String, _
ByVal displayName As System.String, _
ByVal dataType As DataType, _
ByVal isActive As System.Boolean, _
ByVal defaultValue As System.Object, _
ByVal entityClassCtntSrcPropDefs() As EntClassCtntSrcPropCfg, _
ByVal listValues() As System.Object, _
ByVal relClass As AssocPropTyp _
) As AssocPropDefInfoParameters
| Name | Description |
|---|---|
| systemName | The system name of the Property Definition. This value must be a GUID with the following format (lower case): xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| displayName | The display name. |
| dataType | The data type. |
| isActive | Is the property definition active. |
| defaultValue | The default value. |
| entityClassCtntSrcPropDefs | The mappings to content source properties. |
| listValues | A list of legal values for the property. A null value means that any value can be used. Only applies to String and Numeric types. |
| relClass | The type of association that the property applies to. |
Return Value
The new Association Property Definition object.