UpdateSpecific Method (StagingTypeConfig)
- Last UpdatedNov 06, 2025
- 2 minute read
The UpdateSpecific() method updates selected columns of the specified staging type configuration in the Staging_Type_Config table.
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal stagingTypeId As String, _
ByVal curateFrequency As Nullable(Of Integer), _
ByVal isGlobal As Nullable(Of Boolean), _
ByVal isEnabled As Nullable(Of Boolean), _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim stagingTypeId As String
Dim curateFrequency As Nullable(Of Integer)
Dim isGlobal As Nullable(Of Boolean)
Dim isEnabled As Nullable(Of Boolean)
Dim lastEditAt As Nullable(Of Date)
StagingTypeConfig.UpdateSpecific(sessionId, stagingTypeId, curateFrequency, isGlobal, isEnabled, lastEditAt)
public static void UpdateSpecific(
int sessionId,
string stagingTypeId,
Nullable<int> curateFrequency,
Nullable<bool> isGlobal,
Nullable<bool> isEnabled,
ref Nullable<DateTime> lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- stagingTypeId
- Required. Holds the ID of a CONNECT data services type.
- curateFrequency
- Required. Holds the MES table name.
- isGlobal
- Required. Holds a flag that specifies whether the data for this type is global across sites.
- isEnabled
- Required. Indicates whether the data type requires curation.
- 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.
Observe the following input parameter rules:
- Optional non-DB* parameters: Either enter a value or pass a null. If passing a null and a default value has been defined, the default value will be used for the parameter.
- Optional DB* parameters: To enter no value for the parameter, pass DB*.null (e.g., DBInt.null). To use the default value for the parameter if one has been defined for the object being added, pass a null.