Click or drag to resize

DetachedDeviceLink Methods

The DetachedDeviceLink type exposes the following members.

Methods
  Name Description
Public method Static member BuildChildConnectionString Builds a connection string for a detached child device that links the child to its parent concentrator device.
Public method Static member ClearChildLink Removes any detached child linkage keys, i.e., ParentIDKey and StationNameKey, from the specified connection string.
Public method Static member GetDatabaseID Gets the device database ID, i.e., the DatabaseIDKey value, defined in the specified connection string, if any.
Public method Static member GetEffectiveParentID Gets the effective parent device database ID for a device, i.e., the defined database parentID field value, when not null, falling back on any numeric ParentIDKey value defined in the device connectionString.
Public method Static member GetParentIdentifier Gets the raw parent identifier, i.e., the ParentIDKey value, defined in the specified connection string, if any.
Public method Static member GetStationName Gets the station name, i.e., the StationNameKey value, defined in the specified connection string, if any.
Public method Static member HasDetachedChildren Gets flag that determines if the specified connection string identifies a parent concentrator device with detached, i.e., standalone modeled, child devices.
Public method Static member IsDetachedChild Gets flag that determines if the specified connection string identifies a detached child device, i.e., connection string defines a ParentIDKey value.
Public method Static member SetDetachedChildren Adds or removes the detached children flag, i.e., DetachedChildrenKey along with its companion DatabaseIDKey stamp, on the specified parent concentrator device connection string.
Public method Static member TryParseParentID Attempts to parse the numeric parent device database ID defined in the specified connection string.
Top
See Also