Specifies a set of network element IDs to use as barriers.
[Visual Basic 6.0] Sub SetBarriersByEID(
ByVal Count As Long, _
eIDs As Long _
)
[Visual Basic .NET] Public Sub SetBarriersByEID ( _ ByVal Count As Integer, _ ByRef eIDs As Integer _ )
[C#] public void SetBarriersByEID ( int Count, ref int eIDs );
[Java] public void setBarriersByEID ( int Count, int eIDs ) throws IOException, AutomationException
[C++]
HRESULT SetBarriersByEID(
long Count,
long* eIDs
);
Parameters
Count [in]
Count is a parameter of type long
eIDs [in]
eIDs is a parameter of type long
The Network and ElementType properties must be set before calling SetBarriersByEID.
If there are values in the array that do not correspond to a valid EID in the specified Network, then the NetElementBarriers object simply ignores these values.
This method is not callable from C#. Please use INetElementBarriersGEN::SetBarriersByEID.
When using this method in VisualBasic code, specify the number of element IDs (EIDs) in your array, but only pass the first EID of the array (pArray(0), for instance). Even though just the first EID is passed, all EIDs in the array will be placed on this NetElementBarriers object.
This method is not callable from VB.NET. Please use INetElementBarriersGEN::SetBarriersByEID.