Specifies a set of network features to use as barriers.
[Visual Basic 6.0] Sub SetBarriers(
ByVal UserClassID As Long, _
ByVal Count As Long, _
userIDs As Long _
)
[Visual Basic .NET] Public Sub SetBarriers ( _ ByVal UserClassID As Integer, _ ByVal Count As Integer, _ ByRef userIDs As Integer _ )
[C#] public void SetBarriers ( int UserClassID, int Count, ref int userIDs );
[Java] public void setBarriers ( int UserClassID, int Count, int userIDs ) throws IOException, AutomationException
[C++]
HRESULT SetBarriers(
long UserClassID,
long Count,
long* userIDs
);
Parameters
UserClassID [in]
UserClassID is a parameter of type long
Count [in]
Count is a parameter of type long
userIDs [in]
userIDs is a parameter of type long
The Network and ElementType properties must be set before calling SetBarriers.
This method is not callable from C#. Please use INetElementBarriersGEN::SetBarriers.
When using this method in VisualBasic code, specify the number of UserIDs in your array, but only pass the first UserID of the array (pArray(0), for instance). Even though just the first UserID is passed, all UserIDs in the array will be placed on this NetElementBarriers object.
This method is not callable from VB.NET. Please use INetElementBarriersGEN::SetBarriers.