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.245.0.0 (8.245.0.0)
Syntax public IEnumerable<ResourceBase> GetResourcesOfType(
Guid sessionId,
FactoryResourceType types
)
Public Function GetResourcesOfType (
sessionId As Guid,
types As FactoryResourceType
) As IEnumerable(Of ResourceBase)
public:
virtual IEnumerable<ResourceBase^>^ GetResourcesOfType(
Guid sessionId,
FactoryResourceType types
) sealed
abstract GetResourcesOfType :
sessionId : Guid *
types : FactoryResourceType -> IEnumerable<ResourceBase>
override GetResourcesOfType :
sessionId : Guid *
types : FactoryResourceType -> IEnumerable<ResourceBase>
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:
IEnumerableResourceBaseA list of objects derived from
ResourceBase representing all of the resources of the specified kind.
Exceptions See Also