Click or drag to resize

ResourceServices.GetAllFactories Method

Retrieves all factory resources defined in FactoryLogix, including their hierarchy.

Namespace:  FactoryLogix.xTend.FactoryResources
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.251.0.0 (8.251.0.0)
Syntax
public IEnumerable<Factory> GetAllFactories(
	Guid sessionId
)

Parameters

sessionId
Type: System.Guid
The session identifier that was returned by the Connect(String, String, String, String, String) method.

Return Value

Type: IEnumerable<Factory>
A list of Factory objects representing all of the root factories that have been defined in factoryLogix. Each factory will contain children derived from ResourceBase representing all of the resources within that Factory.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
See Also