NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ServiceController.ExecuteCommand

Executes a custom command on a Service

[Visual Basic]
Overridable Public Sub ExecuteCommand( _
   ByVal command As Integer _
)
[C#]
public virtual void ExecuteCommand(
   int command
);
[C++]
public: virtual void ExecuteCommand(
   int command
);
[JScript]
public function ExecuteCommand(
   command : int
);

Parameters

command
is the command flag to be sent.

See Also

ServiceController Class | ServiceController Members | System.ServiceProcess Namespace