MSFT_MaskingSet 類別的 GetSecurityDescriptor 方法

擷取控制遮罩集物件實例存取的安全性描述項。

語法

UInt32 GetSecurityDescriptor(
  [out] String SecurityDescriptor,
  [out] String ExtendedStatus
);

參數

SecurityDescriptor [out]

描述項定義語言 (SDDL) 格式化字串,描述物件的訪問控制清單。 這個參數是必要的,而且不能是 NULL。

ExtendedStatus [out]

包含內嵌 MSFT_StorageExtendedStatus 物件的字串。

此參數可讓儲存提供者傳回擴充 (實作特定) 錯誤資訊。

傳回值

成功 (0)

不支援 (1)

未指定的錯誤 (2)

時 (3)

失敗 (4)

無效的參數 (5)

(40001) 拒絕存取

沒有足夠的資源可完成作業。 (40002)

無法連線到記憶體提供者。 (46000)

儲存提供者無法連線到儲存子系統。 (46001)

規格需求

需求
最低支援的用戶端 Windows 8 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 [僅限傳統型應用程式]
命名空間 Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

另請參閱

MSFT_MaskingSet