IsMetadataReadonly
Description
Returns a Bool indicating whether the session's metadata is read-only.
Syntax
Perl
$session->IsMetadataReadonly();
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- Return value
- True if the metadata is read-only, otherwise False.
Example
Perl
#Get a DevOps Plan session
$sessionObj = $entity->GetSession();
#If the session's metadata is read-only, perform some action.
if ( $sessionObj->IsMetadataReadonly ) {
# ...
}