SharedWorkspace.Connected Property
Returns a Boolean value that indicates whether or not the active document is currently saved in and connected to a shared workspace.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Property Connected As Boolean
Get
'Usage
Dim instance As SharedWorkspace
Dim value As Boolean
value = instance.Connected
bool Connected { get; }
Property Value
Type: System.Boolean
Remarks
Use the Disconnect method of the SharedWorkspace object to disconnect the local copy of the active document from the shared workspace. Use the RemoveDocument method to remove the document from the shared workspace.