ResourceServicesGetStockLocations Method  | 
  
    Namespace: 
   FactoryLogix.xTend.FactoryResources
    Assembly:
   FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.254.0.0 (8.254.0.0)
Syntaxpublic IEnumerable<StockLocation> GetStockLocations(
	Guid sessionId,
	Guid parentId
)
Public Function GetStockLocations ( 
	sessionId As Guid,
	parentId As Guid
) As IEnumerable(Of StockLocation)
public:
virtual IEnumerable<StockLocation^>^ GetStockLocations(
	Guid sessionId, 
	Guid parentId
) sealed
abstract GetStockLocations : 
        sessionId : Guid * 
        parentId : Guid -> IEnumerable<StockLocation> 
override GetStockLocations : 
        sessionId : Guid * 
        parentId : Guid -> IEnumerable<StockLocation> Parameters
- sessionId
 - Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - parentId
 - Type: SystemGuid
The Id of the parent, which is of type Stock, TemperingOven, ColdStorage, or StockLocation. 
Return Value
Type: 
IEnumerableStockLocationA list of 
StockLocations that are the immediate children per the parentId.
Exceptions
See Also