constant that represents the type of connection used to persist the data when a data access page is taken offline. Read/write.
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