Skip to content

ZosChangeManInstances

The ZosChangeManInstances object is a collection of all ChangeMan instances on a server. This object is obtained using the ChangeManInstances property of the ZosServer object.

ZosChangeManInstances Properties

ZosChangeManInstances exposes the following properties:

Property Type R/W Description
[index] [name] ZosChangeManInstance R Folder with specified name or index.
Count Int32 R Number of objects in collection.
Path String R File system path name for collection.

...

ZosChangeManInstances Methods

ZosChangeManInstances exposes the following methods:

Add Method

Adds a new ChangeMan instance. Returns index at which object has been added.

 Int32  Add(  
            String name,  
            Int32 port,  
            String description [optional] 
            )

FindIndex Method

Searches for ChangeMan instance with specified name and returns zero-based index. Returns -1 if name is not found.

Int32  FindIndex(  
           String name  
           ) 

Find Method

Searches for ChangeMan instance with specified name and returns reference to object. Returns null if name is not found.

ZosChangeManInstance  Find(  
           String name  
           )

Refresh Method

Refreshes collection.

 void  Refresh()  

Remove Method

Deletes a ChangeMan instance. Returns true if instance was removed or false if name is not found.

Boolean  Remove(  
            String name  
            ) 

...

Back to top