assignment of ImageCacheSecond

Topics: General
Jul 27, 2011 at 8:23 PM

Which is the correct assignment

   Dim ch As New MsSQLPureImageCache()
   ch.ConnectionString = "myConnectionString"
   GMaps.Instance.ImageCacheSecond = ch

or

   Dim ch As New MsSQLPureImageCache()
   ch.ConnectionString = "myConnectionString"
   myMapControl.Manager.ImageCacheSecond = ch

 

Also, is there  a way to confirm of the ImageCacheSecond is being used?

Coordinator
Jul 27, 2011 at 8:32 PM

both are correct, try to debug, and see