Attach an attribute for a project
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Sub AttachAttributeToProject( _
ByVal project_id As EntityID, _
ByVal attribute_id As EntityID, _
ByVal optional As Boolean, _
ByVal read_only As Boolean, _
ByVal order As Integer, _
ByVal constraint_id As Long, _
ByVal reprompt_on_change As Boolean, _
ByVal db As IDatabase _
)
This language is not supported or no code example is available.
Parameters
- project_id
-
Type: EntityID
the id of the project
- attribute_id
-
Type: EntityID
the attribute id to attach
- optional
-
Type: bool
whether it's optional
- read_only
-
Type: bool
whether or not it should be read only
- order
-
Type: int
- constraint_id
-
Type: long
constrint id. -1 for don't change. 0 for removal.
- reprompt_on_change
-
Type: bool
- db
-
Type: IDatabase
the db db to use