NTService: SetServiceState

SetServiceState

The SetServiceState sub changes service state. If parameter omitted, it confirms previous state.



 Private Sub SetServiceState(
	  Optional ByVal NewState As SERVICE_STATE = 0 & )

Parameters

NewState
[ByVal] Optional. SERVICE_STATE. New service state  

Default: 0 &

Remarks

See Also

Project pop2owa Overview Class NTService Overview NTService Properties NTService Methods ServiceThread StartService