Share via


SharedWorkspace.Disconnect Method 

Disconnects the local copy of the active document from the shared workspace.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim sharedWorkspace1 As SharedWorkspace
sharedWorkspace1.Disconnect()

Syntax

Sub Disconnect()
void Disconnect();
public: Void Disconnect();
public void Disconnect();
function Disconnect();

Remarks

Use the Disconnect method to detach the local copy of the active document from the shared workspace. This method leaves the shared document on the server; however, the local copy will no longer be synchronized with the shared copy and will no longer benefit from the other collaboration features of the shared workspace. Use the RemoveDocument method to remove the shared document from the server.

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