Click or drag to resize

PartServicesFindVendors Method

Retrieves one or more vendors based on a search string. The searchCriteria parameter may contain wildcard ("*") specifiers. If no wildcard specifiers are used, the searchCriteria must match the vendor name exactly (not case sensitive). A searchCriteria of "*" will return all vendors known to the system. If not items are found, and empty list is returned and not exceptions are thrown.

Namespace:  FactoryLogix.xTend.PartDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public IEnumerable<Vendor> FindVendors(
	Guid sessionId,
	string searchCriteria
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
searchCriteria
Type: SystemString
The name of the vendor or a search string with wildcard ("*") specifiers.

Return Value

Type: IEnumerableVendor
A list of Vendor objects which match the search criteria.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
See Also