UpdateSpecific Method (CertUserLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The UpdateSpecific() method updates selected columns of the specified certification user link record in the Cert_User_Link table.
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal certName As String, _
ByVal userId As String, _
ByVal certLevel As Nullable(Of Integer), _
ByVal expiryTime As DBDateTime, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim certName As String
Dim userId As String
Dim certLevel As Nullable(Of Integer)
Dim expiryTime As DBDateTime
Dim lastEditComment As DBString
Dim lastEditAt As Nullable(Of Date)
CertUserLink.UpdateSpecific(sessionId, certName, userId, certLevel, expiryTime, lastEditComment, lastEditAt)
public static void UpdateSpecific(
int sessionId,
string certName,
string userId,
Nullable<int> certLevel,
DBDateTime expiryTime,
DBString lastEditComment,
ref Nullable<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
- Optional. Holds the certification level required.
- expiryTime
- Optional. Holds the date when the certification is going to expire for the linked user.
- lastEditComment
- Optional. Holds comments that describes why this record is being updated
- lastEditAt
Optional. Holds the date/time when this record was added or last edited, for optimistic concurrency control. If it is specified, 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.