PartServicesDeleteVendor Method |
Deletes a vendor definition from the system.
If the vendor specified has relationships to other data items (such as part definitions), it may not be deleted.
If a vendor 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 void DeleteVendor(
Guid sessionId,
string vendorName
)
Public Sub DeleteVendor (
sessionId As Guid,
vendorName As String
)
public:
virtual void DeleteVendor(
Guid sessionId,
String^ vendorName
) sealed
abstract DeleteVendor :
sessionId : Guid *
vendorName : string -> unit
override DeleteVendor :
sessionId : Guid *
vendorName : string -> unit
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - vendorName
- Type: SystemString
The name of the vendor to be deleted.
Exceptions See Also