OfflineType Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.  

DscOfflineTypeEnum

DscOfflineTypeEnum can be one of these DscOfflineTypeEnum constants.
dscOfflineMerge The data is stored in a local MSDE database.
dscOfflineNone The data is not available when the data access page is taken offline.
dscOfflineWorkflow Not supported for this property.
dscOfflineXMLDataFile The data is stored in an XML data file.

expression.OfflineType

expression   Required. An expression that returns a DataSourceControl object.

Example

This example sets the offline settings from the data source control named MSODSC.

  Sub SetOfflineSettings()

   Dim dscConstants

   Set dscConstants = MSODSC.Constants

   ' Set the offline type.
   MSODSC.OfflineType = dscConstants.dscOfflineXMLDataFile

   ' Set the location of the XML data to a data file.
   MSODSC.XMLLocation = dscconstants.dscXMLDataFile

   ' Set the XML data file to use when the page is offline.
   MSODSC.OfflineSource = "Q1 Sales Analysis.xml"

End Sub