Sun Management Center 3.6 使用者指南

物件屬性指令

您可以使用下列指令來設定與擷取物件屬性和屬性值:

addRow

說明

addRow 指令會新增指定值的列到表格中。

語法

addRow a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject [property=property] [propInst=propertyInstance] rowValues=name=value[,name=value]

參數

ammgtObjpropertypropInstrowValues

delRow

說明

delRow 指令會從表格刪除指定值的列。

語法

delRow a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject [property=property] [propInst=propertyInstance] rowValues=name=value[,name=value]

參數

ammgtObjpropertypropInstrowValues

getAttributes

說明

getAttributes 指令會擷取特性資訊,或從代理程式或代理程式清單擷取指定屬性。

語法

getAttributes a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject property=property [propInst=propertyInstance] [attribute=attribute[,attribute]*]

參數

ammgtObjpropertypropInstattribute

setAttributes

說明

setAttributes 指令會設定特性,或者為代理程式的指定屬性設定值。

語法

setAttributes a=host[:port][,host[:port]]* m=module[+instance] mgtObj=managedObject property=property [propInst=propertyInstance] [attribute=attribute[,attribute]*] value=value[,value]*

參數

ammgtObjpropertypropInstattributevalue

對於在 attribute 參數中指定的每個屬性,value 參數中必須有對應的值。