Ets_Nt_Subnet_Slice_Nth_Remove()

Note: Requires OPNET Development Kit

Abstract

Uninstalls a slice from a subnet.

Syntax

Ets_Nt_Subnet_Slice_Nth_Remove (subnet_hndl, index)
Argument Type Description
subnet_hndl EtsT_Obj_Handle Handle of the subnet of interest.
index int Index of the slice to be removed.

Return Type

EtsT_Slice_Handle

Handle of the specified slice. Returns NIL if the object handle passed is not a subnet object handle, or if the index is less than zero or greater than the index of the last slice.

ets_api_nt.h

Details

Ownership of the slice is transferred from the subnet. Use Ets_Slice_Destroy() to properly deallocate the slice. Note that some types of slices, such as the network objects slice, cannot be removed. See Slice Sub-Package for details on which slices can be removed.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com