Click or drag to resize

ResourceServicesGetResourcesOfType 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 IEnumerable<ResourceBase> GetResourcesOfType(
	Guid sessionId,
	FactoryResourceType types
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
types
Type: FactoryLogix.xTend.DataObjectsFactoryResourceType
A flagged enumeration indicating the types or kinds or resources to be retrieved.

Return Value

Type: IEnumerableResourceBase
A list of objects derived from ResourceBase representing all of the resources of the specified kind.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
See Also