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

Gets the services (not including device-driver services) on the machine specified.

[Visual Basic]
Overloads Public Shared Function GetServices( _
   ByVal machineName As String _
) As ServiceController ()
[C#]
public static ServiceController[] GetServices(
   string machineName
);
[C++]
public: static ServiceController* GetServices(
   String* machineName
) [];
[JScript]
public static function GetServices(
   machineName : String
) : ServiceController[];

Parameters

machineName
is the machine where the services are to be taken from.

See Also

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