PartServicesCreateManufacturer Method |
Creates a new manufacturer definition.
The newManufacturerName parameter must not be empty, and must specify a unique name for the new manufacturer.
If a manufacturer with the specified name already exists, a
AlreadyExistsException will be thrown.
Namespace:
FactoryLogix.xTend.PartDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public Manufacturer CreateManufacturer(
Guid sessionId,
string newManufacturerName
)
Public Function CreateManufacturer (
sessionId As Guid,
newManufacturerName As String
) As Manufacturer
public:
virtual Manufacturer^ CreateManufacturer(
Guid sessionId,
String^ newManufacturerName
) sealed
abstract CreateManufacturer :
sessionId : Guid *
newManufacturerName : string -> Manufacturer
override CreateManufacturer :
sessionId : Guid *
newManufacturerName : string -> Manufacturer
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - newManufacturerName
- Type: SystemString
The name of the new manufacturer to be created.
Return Value
Type:
ManufacturerA
Manufacturer object representing the newly created manufacturer with a valid Id property.
Exceptions See Also