Share via


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)

Usage

Dim sharedWorkspace1 As SharedWorkspace

Dim returnValue As Boolean
returnValue = sharedWorkspace1.Connected

Syntax

ReadOnly Property Connected() As Boolean
bool Connected {get;}
property Boolean Connected{
    Boolean get();
}
public boolean get_Connected();
function get Connected() : 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

SharedWorkspace Interface
Microsoft.Office.Core Namespace

Other Resources

SharedWorkspace Members