ESRI.ArcGIS.ADF.Web.DataSources.VirtualEarthService
RefreshToken Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.VirtualEarthService Namespace > GISResource Class : RefreshToken Method




timeout
Refreshes the token from the Token WebService.

Syntax

Visual Basic (Declaration) 
Public Function RefreshToken( _
   ByVal timeout As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As GISResource
Dim timeout As Integer
Dim value As String
 
value = instance.RefreshToken(timeout)
C# 
public string RefreshToken( 
   int timeout
)

Parameters

timeout

Remarks

The default token life span is 8 hours. If your session lasts longer than this, you will need to call RefreshToken and refresh the resource.

See Also

© 2010 All Rights Reserved.