Business Analyst Online API for Silverlight 2.2 Reference
BAOnlineClient Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAO.Tasks Namespace : BAOnlineClient Class

Glossary Item Box

The BAOnlineClient class is the client class encapsulating a Business Analyst Online HTTP (REST) Service.

Object Model

BAOnlineClient ClassITokenProvider InterfaceITokenService Interface

Syntax

 
Visual Basic (Declaration)
C#
 
 

Example

The code snippet below shows how to create an instance of this class. To get the example working, specify valid values for username, password and the URLs.
C#Copy Code
BAOnlineClient client = new BAOnlineClient("http://baoapi.esri.com");
            
// Token provider updates a security token when it expires.
BAOnlineTokenProvider tokenProvider = new BAOnlineTokenProvider(new UserCredentials("username", "password"));
tokenProvider.Url = "https://baoapi.esri.com";
client.TokenProvider = tokenProvider;

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractClient
      ESRI.ArcGIS.Client.BACore.Client.BAClient
         ESRI.ArcGIS.Client.BAO.Tasks.BAOnlineClient

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 ESRI Inc. All Rights Reserved.