DeleteAll Method (SamplePlan)
- Last UpdatedMar 17, 2026
- 1 minute read
The DeleteAll() method deletes one or more sample plan records from the Sample_Plan table, as specified by the filter parameters. Passing no filter parameters will delete all sample plan records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal planId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim planId As Nullable(Of Integer)
SamplePlan.DeleteAll(sessionId, planId)
public static void DeleteAll(
int sessionId,
Nullable<int> planId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- planId
- Optional filter parameter. Holds the ID of a sample plan being deleted.