GetAvailable Method (CertItemLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetAvailable() method retrieves all the appropriate certifications that are not already linked to the specified item.
'Declaration
Public Shared Function GetAvailable( _
ByVal sessionId As Integer, _
ByVal itemId As String _
) As DataSet
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim value As DataSet
value = CertItemLink.GetAvailable(sessionId, itemId)
Parameters
- sessionId
Optional. Holds the session ID and thus the user who is making this method call.
- itemId
Required. Holds the ID of the item.
Return Value
Returns a DataSet that contains records for all the certifications that are not linked to the specified item. The returned records are from the Cert_Type table. If no matching certifications are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
cert_name |
A string that is the name of the certification. |
|
max_level |
An integer that is the maximum level for the certication. |
|
cert_audit |
A flag that indicates whether or not the certification is an audit certification. |