GetByKey Method (Sample)Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedNov 06, 20251 minute readOperations and ExecutionManufacturing Execution System 2023 R2 The GetByKey() method retrieves the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal sampleId As Integer _ ) As DataSet 'Usage Dim sampleId As Integer Dim value As DataSet value = Sample.GetByKey(sampleId) public static DataSet GetByKey( int sampleId ) ParameterssampleId Required. Holds the ID of the sample that is being retrieved. Return ValueReturns a DataSet that contains the record of the specified sample in the Sample table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceSample ClassSample Members In This Topic
The GetByKey() method retrieves the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal sampleId As Integer _ ) As DataSet 'Usage Dim sampleId As Integer Dim value As DataSet value = Sample.GetByKey(sampleId) public static DataSet GetByKey( int sampleId ) ParameterssampleId Required. Holds the ID of the sample that is being retrieved. Return ValueReturns a DataSet that contains the record of the specified sample in the Sample table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceSample ClassSample Members
The GetByKey() method retrieves the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal sampleId As Integer _ ) As DataSet 'Usage Dim sampleId As Integer Dim value As DataSet value = Sample.GetByKey(sampleId) public static DataSet GetByKey( int sampleId ) ParameterssampleId Required. Holds the ID of the sample that is being retrieved. Return ValueReturns a DataSet that contains the record of the specified sample in the Sample table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceSample ClassSample Members
The GetByKey() method retrieves the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal sampleId As Integer _ ) As DataSet 'Usage Dim sampleId As Integer Dim value As DataSet value = Sample.GetByKey(sampleId) public static DataSet GetByKey( int sampleId ) ParameterssampleId Required. Holds the ID of the sample that is being retrieved. Return ValueReturns a DataSet that contains the record of the specified sample in the Sample table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceSample ClassSample Members