Create an attribute
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function CreateAttribute( _
ByVal server_id As ServerID, _
ByVal name As String, _
ByVal type As AttributeType, _
ByVal description As String, _
ByVal is_custom_attribute As Boolean, _
ByVal db As IDatabase _
) As 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
- type
-
Type: AttributeType
the type of attribute
- description
-
Type: string
the description
- is_custom_attribute
-
Type: bool
- db
-
Type: IDatabase
the db connection to use
Return Value
Type: EntityIDthe created id