public int virStoragePoolListAllVolumes(out Storage_Volume[] vols) { virStorageVolPtr[] ptrs; var ret = API.virStoragePoolListAllVolumes(_Storage_PoolPtr, out ptrs); vols = new Storage_Volume[ptrs.Length]; for (var i = 0; i < ptrs.Length; i++) { vols[i] = new Storage_Volume(ptrs[i]); } return(ret); }
public static Libvirt.virStorageVolPtr GetPtr(Storage_Volume p) { return(p._Storage_VolumePtr); }
public static Libvirt.virStorageVolPtr GetPtr(Storage_Volume p) { return p._Storage_VolumePtr; }
public Storage_Volume virStorageVolCreateXMLFrom(Models.Concrete.Storage_Volume xmlDesc,Storage_Volume clonevol, virStorageVolCreateFlags flags) { return new Storage_Volume(API.virStorageVolCreateXMLFrom(_Storage_PoolPtr, xmlDesc.To_XML(), Storage_Volume.GetPtr(clonevol), flags)); }
public int virStoragePoolListAllVolumes(out Storage_Volume[] vols) { virStorageVolPtr[] ptrs; var ret = API.virStoragePoolListAllVolumes(_Storage_PoolPtr, out ptrs); vols = new Storage_Volume[ptrs.Length]; for (var i = 0; i < ptrs.Length; i++) { vols[i] = new Storage_Volume(ptrs[i]); } return ret; }
public Storage_Volume virStorageVolCreateXMLFrom(Models.Concrete.Storage_Volume xmlDesc, Storage_Volume clonevol, virStorageVolCreateFlags flags) { return(new Storage_Volume(API.virStorageVolCreateXMLFrom(_Storage_PoolPtr, xmlDesc.To_XML(), Storage_Volume.GetPtr(clonevol), flags))); }