Click or drag to resize

ResourceServicesGetAllFactories 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.242.0.0 (8.242.0.0)
Syntax
public IEnumerable<Factory> GetAllFactories(
	Guid sessionId
)

Parameters

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

Return Value

Type: IEnumerableFactory
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