IVdsLun 介面 (vds.h)

[從Windows 8和Windows Server 2012開始,虛擬磁碟服務COM 介面會由Windows 儲存體管理 API取代。

提供在邏輯單元編號上執行查詢和設定作業的方法, (LUN) 。

繼承

IVdsLun介面繼承自IUnknown介面。 IVdsLun 也有下列類型的成員:

方法

IVdsLun介面具有這些方法。

 
IVdsLun::AddPlex

IVdsLun::AddPlex 方法 (vds.h) 將 LUN 新增至目標 LUN 作為新的 plex。
IVdsLun::ApplyHints

IVdsLun::ApplyHints 方法 (vds.h) 會將一組新的提示套用至 LUN。 套用至 LUN 的提示會同時套用至所有 plexes。
IVdsLun::AssociateControllers

IVdsLun::AssociateControllers 方法 (vds.h) 會將子系統控制器設定為與 LUN 相關的作用中或非作用中。
IVdsLun::D elete

IVdsLun::D elete 方法 (vds.h) 會刪除 LUN 及其所有叢集。 LUN 上的任何資料都遺失,而 VDS 會釋放配置給 LUN 的範圍。
IVdsLun::Extend

IVdsLun::Extend 方法 (vds.h) 以指定的位元組數目擴充 LUN。
IVdsLun::GetIdentificationData

IVdsLun::GetIdentificationData 方法 (vds.h) 會從 SCSI 查詢資料和重要產品資料頁面0x80和0x83傳回資料。
IVdsLun::GetProperties

IVdsLun::GetProperties 方法 (vds.h) 會傳回 LUN 物件的屬性。
IVdsLun::GetSubSystem

IVdsLun::GetSubSystem 方法 (vds.h) 會傳回呈現 LUN 的子系統。
IVdsLun::QueryActiveControllers

IVdsLun::QueryActiveControllers 方法 (vds.h) 傳回目前作用中控制器的列舉,可存取 LUN。
IVdsLun::QueryHints

IVdsLun::QueryHints 方法 (vds.h) 會傳回目前套用至 LUN 的提示。
IVdsLun::QueryMaxLunExtendSize

IVdsLun::QueryMaxLunExtendSize 方法 (vds.h) 傳回可以擴充 LUN 的大小上限。
IVdsLun::QueryPlexes

IVdsLun::QueryPlexes 方法 (vds.h) 會傳回 LUN 中 plexes 的列舉。
IVdsLun::Recovery

IVdsLun::Recovery 方法 (vds.h) 在 LUN 上啟動復原作業。
IVdsLun::RemovePlex

IVdsLun::RemovePlex 方法 (vds.h) 會從 LUN 移除 plex。
IVdsLun::SetMask

IVdsLun::SetMask 方法 (vds.h) 會指定未遮罩清單,這是要授與 LUN 存取權的電腦清單。
IVdsLun::SetStatus

IVdsLun::SetStatus 方法 (vds.h) 將 LUN 的狀態設定為指定的值。
IVdsLun::Shrink

IVdsLun::Shrink 方法 (vds.h) 以指定的位元組數目壓縮 LUN。

規格需求

   
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限傳統型應用程式]
目標平臺 Windows
標頭 vds.h

另請參閱

IVdsLunPlex::GetLun

LUN 物件

VDS 介面