GetServerState method
Returns the state of the specified server.
Syntax
Application
.GetServerState
FullServerName, PrimaryState, SecondaryState
where
Application
– is the name of a FactoryTalk View SE
Client Application object or an expression that evaluates to a FactoryTalk View SE
Client Application object.FullServerName
– is a string that specifies the name of the server, including its path. If the specified server does not exist an error will be raised. For the FactoryTalk Directory server, the FullServerName parameter should be specified as FTDirectory.PrimaryStatus
– is a variable of the type Long that will be set to the status of the primary server instance. The value returned will be one of the gfxServerStatusConstants.SecondaryState
– is a variable of the type Long that will be set to the state of the secondary server. The value returned will be one of the gfxServerStateConstants. If a secondary server has not been set up, the value returned will be gfxServerStatusSecondaryNotDefined.Provide Feedback