ResourceServicesDefineStockLocations Method  | 
  
    Namespace: 
   FactoryLogix.xTend.FactoryResources
    Assembly:
   FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.254.0.0 (8.254.0.0)
Syntaxpublic void DefineStockLocations(
	Guid sessionId,
	Guid resourceId,
	StockLocation[] stockLocations
)
Public Sub DefineStockLocations ( 
	sessionId As Guid,
	resourceId As Guid,
	stockLocations As StockLocation()
)
public:
virtual void DefineStockLocations(
	Guid sessionId, 
	Guid resourceId, 
	array<StockLocation^>^ stockLocations
) sealed
abstract DefineStockLocations : 
        sessionId : Guid * 
        resourceId : Guid * 
        stockLocations : StockLocation[] -> unit 
override DefineStockLocations : 
        sessionId : Guid * 
        resourceId : Guid * 
        stockLocations : StockLocation[] -> unit Parameters
- sessionId
 - Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - resourceId
 - Type: SystemGuid
            The Id of the Stock, TemperingOven or ColdStorage whose StockLocations are
            to be defined.  If the Id specified not one of these types, the methods will fail.
             - stockLocations
 - Type: FactoryLogix.xTend.DataObjectsStockLocation
A list of the new StockLocations for the resource. 
Exceptions
See Also