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 Constructor

[To be supplied.]

Overload List

Creates a ServiceController object.

[Visual Basic] Overloads Public Sub New()
[C#] public ServiceController();
[C++] public: ServiceController();
[JScript] public function ServiceController();

Creates a ServiceController object, based on service name.

[Visual Basic] Overloads Public Sub New(String)
[C#] public ServiceController(String);
[C++] public: ServiceController(String*);
[JScript] public function ServiceController(String);

Creates a ServiceController object, based on machine and service name.

[Visual Basic] Overloads Public Sub New(String, String)
[C#] public ServiceController(String, String);
[C++] public: ServiceController(String*, String*);
[JScript] public function ServiceController(String, String);

See Also

ServiceController Class | ServiceController Members | System.ServiceProcess Namespace