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 (String)

Creates a ServiceController object, based on service name.

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

Parameters

name
is the name of the service to reference.

See Also

ServiceController Class | ServiceController Members | System.ServiceProcess Namespace | ServiceController Constructor Overload List