int [] ADomainList = conn.listDomains(); 定义一个整形数组 获得Domain的ID
String [] IADomainList = conn.listDefinedDomains(); 定义一个字符串数组 获得Domain的名字
()
Lists the names of the defined but inactive domains
()
Lists the active domains.
listDefinedDomainspublic java.lang.String[]
listDefinedDomains()
throws
Lists the names of the defined but inactive domains
Returns:
an Array of Strings that contains the names of the defined domains currently inactive
Throws:
listDomainspublic int[]
listDomains()
throws
Lists the active domains.
Returns:
and array of the IDs of the active domains
Throws:
阅读(1856) | 评论(0) | 转发(0) |