LumiSoft Mail Server User API
GetRouteByPattern Method (pattern)
Namespaces > LumiSoft.MailServer.API.UserAPI > RouteCollection > GetRouteByPattern(String)
Gets a Route object in the collection by route pattern.
Syntax

C# | Visual Basic | Managed C++

    public Route GetRouteByPattern (
    	string pattern
    )

    Public Function GetRouteByPattern ( _
    	pattern As String _
    ) As Route

    public:
    Route^ GetRouteByPattern (
    	String^ pattern
    )

Parameters

pattern (String)
  Route pattern.

Return Value
A Route object value that represents the route in virtual server.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)