Delete 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 Delete() method deletes the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Sub Delete( _ ByVal sessionId As Integer, _ ByVal sampleId As Integer _ ) 'Usage Dim sessionId As Integer Dim sampleId As Integer Sample.Delete(sessionId, sampleId) public static void Delete( int sessionId, int sampleId ) ParameterssessionId Required. Holds the session ID and thus the user who is making this method call.sampleId Required. Holds the ID of the sample being deleted. RemarksThe required parameters for this method must pass a value. They cannot be empty or null.See AlsoReferenceSample ClassSample Members In This Topic
The Delete() method deletes the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Sub Delete( _ ByVal sessionId As Integer, _ ByVal sampleId As Integer _ ) 'Usage Dim sessionId As Integer Dim sampleId As Integer Sample.Delete(sessionId, sampleId) public static void Delete( int sessionId, int sampleId ) ParameterssessionId Required. Holds the session ID and thus the user who is making this method call.sampleId Required. Holds the ID of the sample being deleted. RemarksThe required parameters for this method must pass a value. They cannot be empty or null.See AlsoReferenceSample ClassSample Members
The Delete() method deletes the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Sub Delete( _ ByVal sessionId As Integer, _ ByVal sampleId As Integer _ ) 'Usage Dim sessionId As Integer Dim sampleId As Integer Sample.Delete(sessionId, sampleId) public static void Delete( int sessionId, int sampleId ) ParameterssessionId Required. Holds the session ID and thus the user who is making this method call.sampleId Required. Holds the ID of the sample being deleted. RemarksThe required parameters for this method must pass a value. They cannot be empty or null.See AlsoReferenceSample ClassSample Members
The Delete() method deletes the specified sample record from the Sample table.Syntax Visual BasicC# 'Declaration Public Shared Sub Delete( _ ByVal sessionId As Integer, _ ByVal sampleId As Integer _ ) 'Usage Dim sessionId As Integer Dim sampleId As Integer Sample.Delete(sessionId, sampleId) public static void Delete( int sessionId, int sampleId ) ParameterssessionId Required. Holds the session ID and thus the user who is making this method call.sampleId Required. Holds the ID of the sample being deleted. RemarksThe required parameters for this method must pass a value. They cannot be empty or null.See AlsoReferenceSample ClassSample Members