Detect if a state is in use

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

Public Shared Function IsStateInUse( _ 
ByVal state As EntityID, _ 
ByVal db As IDatabase
) As Boolean
This language is not supported or no code example is available.
public static bool IsStateInUse( 
EntityID state
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static bool IsStateInUse( 
EntityID^ state
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function IsStateInUse( 
state : EntityID
db : IDatabase 
) : boolean;
This language is not supported or no code example is available.

Parameters

state
Type: EntityID

the id of the state

db
Type: IDatabase

the database to use

Return Value

Type: bool

whether or not its in 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