DOFServerbeginRestart Method (Int32)OpenDOF Object Access Library
Restart a server, waiting up to timeout for the server to be restarted.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFOperationStart beginRestart(
	int timeout
)

Parameters

timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, for the server to be restarted.

Return Value

Type: DOFOperationStart
The new operation, or null if there is a related server that won't restart.
Remarks

Restart a server, waiting up to timeout for the server to be restarted. However, control may be returned to the caller while the server is restarted. Note: Since there is no StartOperationListener DOFOperation.waitComplete() can be called on the returned operation to wait for it to complete.

Will also start any related server.

See Also

Reference