RouterManagementClient.RenewRouter Method

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Renews the specified router.

Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)

Usage

    Dim credential As TransportClientEndpointBehavior
Dim routerUri As Uri
Dim requestedExpiration As TimeSpan
Dim returnValue As DateTime

returnValue = RouterManagementClient.RenewRouter(credential, routerUri, requestedExpiration)

Syntax

'Declaration
Public Shared Function RenewRouter ( _
    credential As TransportClientEndpointBehavior, _
    routerUri As Uri, _
    requestedExpiration As TimeSpan _
) As DateTime
public static DateTime RenewRouter (
    TransportClientEndpointBehavior credential,
    Uri routerUri,
    TimeSpan requestedExpiration
)
public:
static DateTime RenewRouter (
    TransportClientEndpointBehavior^ credential, 
    Uri^ routerUri, 
    TimeSpan requestedExpiration
)
public static DateTime RenewRouter (
    TransportClientEndpointBehavior credential, 
    Uri routerUri, 
    TimeSpan requestedExpiration
)
public static function RenewRouter (
    credential : TransportClientEndpointBehavior, 
    routerUri : Uri, 
    requestedExpiration : TimeSpan
) : DateTime

Parameters

  • credential
    The credentials to use for accessing the router.
  • routerUri
    The URI of the router to renew.
  • requestedExpiration
    An offset to the current UTC time used to calculate the new, effective expiration time.

Return Value

Returns a DateTime that contains the new expiration date.

Remarks

The given expiration period is used to calculate the new, effective expiration instant as an offset from the current time in UTC.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

RouterManagementClient Class
RouterManagementClient Members
Microsoft.ServiceBus Namespace