Community articleGetSigLockCount function
Added by IBM contributorIBM on August 15, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.


This function returns the signature lock count of a node. If 0 is returned, the node is not signed by any digital signature, but it may have descendants that are signed.


   Function GetSigLockCount() As Integer


There are no parameters for this function.


The number of locks on the given node or throws an exception if an error occurs.


The following function uses GetSigLockCount to determine whether a node has been signed. If so, the function returns True; otherwise, the function returns False.
   Function CheckSigned(Node)
      ' Check to see if the node has a any signature locks. If so, return
      ' True to show that is signed; otherwise, return false.
      If Node.GetSigLockCount > 0 Then
         CheckSigned = True
         CheckSigned = False
      End If
   End Function

Parent topic:
FormNodeP functions