GetContainerState
Returns a ContainerState object with its properties populated with corresponding data from the material database, based on the ContainerState Name.
Syntax
Set
object
= MaterialSvr
.GetContainerState
(ByVal sName
As String, UseCollection
As Boolean)The
GetContainerState
method syntax has these parts:Part | Description |
---|---|
object | Reference to a valid ContainerState object. |
MaterialSvr | Instance of the MaterialServer Interface to which the method is directed. |
sName | Represents the name of the ContainerState. |
UseCollection | True: Attempts to locate the specified ContainerState in a pre-populated collection. If no collection is present, one is created and the record is read from the collection.False: Reads the record directly from the database. |
Provide Feedback