Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Returns route information or null if such route does not exist.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public RouteInfo GetRoute(
    	string name
    )

    Public Function GetRoute ( _
    	name As String _
    ) As RouteInfo

    public:
    RouteInfo^ GetRoute(
    	String^ name
    )

#### Parameters

name
  Type: System..::.String
  name of the route.

#### Return Value

RouteInfo object or null if route with such name does not exist.

# Remarks

Notice returned object does not contain statistical data for the route. Use GetRouteStatistics() method to obtain statistical information about the route.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if name is not a legal route name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace