TheNMIEngine..::..AddConnectivityBlock Method (TheThing, TheFormInfo, Int32, Int32, Action<(Of <(<'TheProcessMessage, Boolean>)>)>, Boolean, ThePropertyBag)
   This adds the default Connectivity Block to the NMI Form. A connectivity block consists of AutoConnect, Is Connected, Address Field, Connect/Disconnect Buttons
   
                
    Namespace: 
   nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static cdeConcurrentDictionary<string, TheFieldInfo> AddConnectivityBlock( TheThing pBaseThing, TheFormInfo pTargetForm, int pBaseFldNumber, int pAcl, Action<TheProcessMessage, bool> eventConnect, bool IncludeUIDPWD, ThePropertyBag pProperties )
Public Shared Function AddConnectivityBlock ( _ pBaseThing As TheThing, _ pTargetForm As TheFormInfo, _ pBaseFldNumber As Integer, _ pAcl As Integer, _ eventConnect As Action(Of TheProcessMessage, Boolean), _ IncludeUIDPWD As Boolean, _ pProperties As ThePropertyBag _ ) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public: static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddConnectivityBlock( TheThing^ pBaseThing, TheFormInfo^ pTargetForm, int^ pBaseFldNumber, int^ pAcl, Action<TheProcessMessage^, bool^>^ eventConnect, bool^ IncludeUIDPWD, ThePropertyBag^ pProperties )
Parameters
- pBaseThing
 - Type: nsCDEngine.Engines.ThingService..::..TheThing
Thing that owns the connectivity block 
- pTargetForm
 - Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Target Form of the Block 
- pBaseFldNumber
 - Type: Int32
Start FldNumber for the block 
- pAcl
 - Type: Int32
Access Level of the block 
- eventConnect
 - Type: Action<(Of <(<'TheProcessMessage, Boolean>)>)>
Callback when user clicks connect or disconnect 
- IncludeUIDPWD
 - Type: Boolean
Include Username and Password in the connectivity block (default:false) 
- pProperties
 - Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Property Bag of Add Connectivity Block