|
DetachedDeviceLinkGetEffectiveParentID Method
|
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.
Namespace: GSF.PhasorProtocolsAssembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.318-beta
Syntaxpublic static int? GetEffectiveParentID(
int? parentID,
string connectionString
)
Public Shared Function GetEffectiveParentID (
parentID As Integer?,
connectionString As String
) As Integer?
GSF.PhasorProtocols.DetachedDeviceLink.GetEffectiveParentID = function(parentID, connectionString);
View SourceParameters
- parentID NullableInt32
- Database ParentID field value for the device.
- connectionString String
- Connection string for the device.
Return Value
NullableInt32Effective parent device database ID; otherwise,
null when device has no parent.
See Also