FinalizeSampleData Method
- Last UpdatedNov 06, 2025
- 1 minute read
The FinalizeSampleData() method marks the specified sample in the Sample table as final.
'Declaration
Public Shared Sub FinalizeSampleData( _
ByVal sampleId As Integer, _
ByVal finalSample As Boolean, _
ByVal operatorName As String, _
ByVal eventDateTimeLocal As Nullable(Of Date) _
)
'Usage
Dim sampleId As Integer
Dim finalSample As Boolean
Dim operatorName As String
Dim eventDateTimeLocal As Nullable(Of Date)
Sample.FinalizeSampleData(sampleId, finalSample, operatorName, eventDateTimeLocal)
public static void FinalizeSampleData(
int sampleId,
bool finalSample,
string operatorName,
Nullable<DateTime> eventDateTimeLocal
)
Parameters
- sampleId
- Required. Holds the ID of the sample.
- finalSample
- Required. Holds a flag that, if true, marks the sample as final.
- operatorName
- Optional. Holds the name of the operator who marked the sample as final.
- eventDateTimeLocal
- Optional. Holds the date/time when the sample was marked as final.