
406 CHAPTER 5
%MAKE_READ_ONLY
%MAKE_READ_ONLY
This token is used in conjunction with the %STATUS token to set a
document so it cannot be altered. See
%STATUS for further
information.
This token is also used with the
%VERSION_DIRECTIVE token to set a
version so it cannot be altered. See
%VERSION_DIRECTIVE for further
information.
Syntax
PCDDocObject.SetProperty(“%STATUS”, _
“%MAKE_READ_ONLY”)
PCDDocObject.SetProperty(“%VERSION_DIRECTIVE”, _
“%MAKE_READ_ONLY”)
Parameters
Usage
Do the following to make a document read only:
1 Create a PCDClient.PCDDocObject.
2 Set the object type to whatever value is appropriate.
3 Set the DM security token (DST).
4 Set the %TARGET_LIBRARY token equal to the library name.
%STATUS The token that indicates that this
command statement adjusts the status
of the document.
%VERSION_DIRECTIVE The token that indicates that this
command statement adjusts the
document version settings.
%MAKE_READ_ONLY The token identifier that indicates that
the document or version should be set to
read only.
Comentários a estes Manuais