Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

modifyProperties() - Modify properties of an communication service

Function:

BcAdminCommunicationService.modifyProperties()

Modifies all the properties of the specified communication server that are present in the specified dictionary.

Parameters:

bc_object (BcObject of type BcObjectType.COMMUNICATION_SERVICE)

Communication service whose properties are to be modified.

props

Dictionary with the key-value pairs for the properties that are to be modified. You can find the possible values for key in Properties of a communication service .

Return:

None

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminCommunicationService
...
getProps={"host": "bchost01", "install-path": "/opt/ibm/sna/bin"}
cs_obj=BcAdminCommunicationService.getObject(getProps) 
modProps={"desc":"modified"} 
BcAdminCommunicationService.modifyProperties(cs_obj, modProps)
...