Click or drag to resize
PMServiceLookupService Method
Looks up a service by name. Passing a null or empty string will return the Primary Installation service

Namespace: PM90SettingsAPI
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public static PMService LookupService(
	string name = null
)

Parameters

name (Optional)
Type: SystemString
The netbios name of the server

Return Value

Type: PMService
new PMService object, or null if not found
Exceptions
ExceptionCondition
PMDatabaseConnectionNotFoundExceptionNo database connection available on this system
PMDatabaseExceptionRepresents an database connection or syntax error that has occurred when processing an API request
See Also