Offline Property

Microsoft Office Web Components Object Model

Offline Property

       

Returns a B oolean indicating whether Microsoft Internet Explorer is in offline mode. Read-only.

expression.Offline

expression   Required. An expression that returns a DataSourceControl object.

Example

This example changes the text of a label control to indicate the offline status of a data access page before the data access page is bound to its data source.

Sub MSODSC_BeforeInitialBind(DSCEventInfo)

   If MSODSC.Offline = True then
      Label.innerText = "Offline"
   Else
      Label.innerText = "Online"
   End If

End Sub