Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2294485
  • 博文数量: 252
  • 博客积分: 5472
  • 博客等级: 大校
  • 技术积分: 3107
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-17 18:39
文章分类

全部博文(252)

文章存档

2012年(96)

2011年(156)

分类: 虚拟化

2011-10-10 22:17:44

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:
阅读(1748) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~