FabricationConfiguration.LocateFabricationConnector
Description:
Gets the fabrication connector identifiers by group and name, filtered by shape and domain.
Gets the fabrication connector identifiers by group and name, filtered by shape and domain.
public int LocateFabricationConnector(
string group,
string name,
ConnectorDomainType domain,
ConnectorProfileType shape
)
-
StringgroupThe fabrication connector group.
-
StringnameThe fabrication connector name.
-
domainConnectorDomainType to filter by. Pass ConnectorDomainType::Undefined to get all connector domains.
-
shapeConnectorProfileType to filter by. Pass ConnectorProfileType::Invalid to get all shapes.
Return Value
Int32
Return the fabrication connector identifier. Returns -1 if not found.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration