Create an attribute

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateAttribute( _ 
ByVal server_id As ServerID, _ 
ByVal name As String, _ 
ByVal display_name As String, _ 
ByVal type As AttributeType, _ 
ByVal description As String, _ 
ByVal is_non_system As Boolean, _ 
ByVal db As IDatabase _ 
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateAttribute( 
ServerID server_id, 
string name, 
string display_name, 
AttributeType type, 
string description, 
bool is_non_system, 
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateAttribute( 
ServerID^ server_id, 
String^ name, 
String^ display_name, 
AttributeType type, 
String^ description, 
bool is_non_system, 
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateAttribute( 
server_id : ServerID, 
name : String, 
display_name : String, 
type : AttributeType, 
description : String, 
is_non_system : boolean, 
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
Type: ServerID

the server details

name
Type: string

the name of the attribute

display_name
Type: string

a display name

type
Type: AttributeType

the type of attribute

description
Type: string

the description

is_non_system
Type: bool

is this a non system file?

db
Type: IDatabase

the db connection to use

Return Value

Type: EntityID

the created id

.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