共用方式為


iWdsTransportNamespace::RetrieveContents 方法 (wdstptmgmt.h)

擷取與命名空間相關聯的使用中傳輸內容物件的集合。

語法

HRESULT RetrieveContents(
  [out] IWdsTransportCollection **ppWdsTransportContents
);

參數

[out] ppWdsTransportContents

IWdsTransportCollection物件的指標,其中包含代表此命名空間下作用中會話的IWdsTransportContent物件集合。

傳回值

使用標準 HRESULT 錯誤值:S_OK成功;其他用於失敗。

規格需求

   
最低支援的用戶端 都不支援
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 wdstptmgmt.h
Dll Wdstptmgmt.dll

另請參閱

IWdsTransportCollection

IWdsTransportContent

IWdsTransportNamespace