ResolveID Method (Servers collection)

               

 

Given a ServerID as a string, this method checks the local machine’s Known Servers Table and ServerHandles table for a matching ID and returns the name associated with that server. A second parameter tells the method whether it should just check in the table of servers or if it should also search the ServerAliases table for matches.

Syntax

object.ResolveID ServerID, CheckAliasTable

The object placeholder is an object expression that evaluates to a Servers collection.

The ResolveID method syntax has these parts:

Part

Description

object

An object expression that evaluates to a Servers object.

ServerID

A string containing the serverID to be resolved.

CheckAliasTable

A Boolean indicating whether the ServerAliases table in the Known Servers Table should also be checked.

 

Remarks

Returns a string with the server name associated with the first matching server ID or an error is raised.

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

pseALIASNOTFOUND

The passed server ID was not found in the specified Known Servers Tables.

Enabling Operational Intelligence