Update Method (CertUserLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The Update() method updates all columns for the specified certification user link record in the Cert_User_Link table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal certName As String, _
ByVal userId As String, _
ByVal certLevel As Integer, _
ByVal expiryTime As DBDateTime, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Date _
)
'Usage
Dim sessionId As Integer
Dim certName As String
Dim userId As String
Dim certLevel As Integer
Dim expiryTime As DBDateTime
Dim lastEditComment As DBString
Dim lastEditAt As Date
CertUserLink.Update(sessionId, certName, userId, certLevel, expiryTime, lastEditComment, lastEditAt)
public static void Update(
int sessionId,
string certName,
string userId,
int certLevel,
DBDateTime expiryTime,
DBString lastEditComment,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- certName
- Required. Holds the name of the certification.
- userId
- Required. Holds the ID of the user to whom the certification is linked.
- certLevel
- Required. Holds the certification level required.
- expiryTime
- Required. Holds the date when the certification is going to expire for the linked user.
- lastEditComment
- Required. Holds comments about why this record is being updated.
- lastEditAt
Required. Holds the date/time when this record was added or last edited, for optimistic concurrency control. The passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when this record was updated by this called method.