Chapter 5 Manipulating The Repository Using Scripts


Managing document version

To freeze and unfreeze a document version:

Use the following Description
Freeze(ByVal Comment As String = "") As Boolean Method on RepositoryDocumentBase that allows you to create an archived version of a document
Unfreeze() As Boolean Method on RepositoryDocumentBase that allows you to modify the current version in the repository to reflect changes performed on your local machine

To lock and unlock a document version:

Use the following Description
Lock(ByVal Comment As String = "") As Boolean Method on RepositoryDocumentBase that allows you to prevent other users from updating the consolidated version
Unlock() As Boolean Method on RepositoryDocumentBase that allows other users to update the consolidated version

To delete a document version:

Use the following Description
DeleteVersion() As Boolean Method on RepositoryDocumentBase that allows you to delete a document version

 


Copyright (C) 2007. Sybase Inc. All rights reserved.