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.245.0.0 (8.245.0.0)
Syntax public ResourceBase FindResource(
Guid sessionId,
string name,
FactoryResourceType types
)
Public Function FindResource (
sessionId As Guid,
name As String,
types As FactoryResourceType
) As ResourceBase
public:
virtual ResourceBase^ FindResource(
Guid sessionId,
String^ name,
FactoryResourceType types
) sealed
abstract FindResource :
sessionId : Guid *
name : string *
types : FactoryResourceType -> ResourceBase
override FindResource :
sessionId : Guid *
name : string *
types : FactoryResourceType -> ResourceBase
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:
ResourceBaseAn object derived from
ResourceBase representing the requested resource.
Exceptions See Also