
Visual Basic (Declaration)
C#
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# | ![]() |
---|---|
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; |
System.Object
ESRI.ArcGIS.Client.BACore.Client.AbstractClient
ESRI.ArcGIS.Client.BACore.Client.BAClient
ESRI.ArcGIS.Client.BAO.Tasks.BAOnlineClient
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