共用方式為


SharedWorkspace.Disconnect Method

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

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

Syntax

'Declaration
Sub Disconnect
'Usage
Dim instance As SharedWorkspace

instance.Disconnect()
void 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.

See Also

Reference

SharedWorkspace Interface

SharedWorkspace Members

Microsoft.Office.Core Namespace