Click or drag to resize

ResourceServicesFindResource Method

Retrieves all factory resources defined within FactoryLogix that match the specified types.

Namespace:  FactoryLogix.xTend.FactoryResources
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public ResourceBase FindResource(
	Guid sessionId,
	string name,
	FactoryResourceType types
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
name
Type: SystemString
The display name of the resource to be retrieved.
types
Type: FactoryLogix.xTend.DataObjectsFactoryResourceType
A flagged enumeration indicating the type or kind or resource to be retrieved.

Return Value

Type: ResourceBase
An object derived from ResourceBase representing the requested resource.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ResourceNotFoundExceptionThrown if a resource matching the specified name and types parameters is not found in the system.
See Also