Attach an attribute for a project

Namespace: SynergyServerScripting.Entities
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 db As IDatabase
)
This language is not supported or no code example is available.
public static void AttachAttributeToProject( 
EntityID project_id
EntityID attribute_id
bool optional
bool read_only
int order
long constraint_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static void AttachAttributeToProject( 
EntityID^ project_id
EntityID^ attribute_id
bool optional
bool read_only
int order
long constraint_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function AttachAttributeToProject( 
project_id : EntityID
attribute_id : EntityID
optional : boolean
read_only : boolean
order : int
constraint_id : long
db : 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.

db
Type: IDatabase

the db db to use

.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