Win32_TerminalServiceSetting 類別的 EmptySpecifiedLicenseServerList 方法

從指定的授權伺服器清單中移除所有授權伺服器。

語法

uint32 EmptySpecifiedLicenseServerList();

參數

這個方法沒有任何參數。

傳回值

在成功時傳回 0,否則會傳回 WMI 錯誤碼。 如需這些值的清單,請參閱 遠端桌面服務 WMI 提供者錯誤碼

規格需求

需求
最低支援的用戶端
都不支援
最低支援的伺服器
Windows Server 2008 R2
命名空間
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

另請參閱

Win32_TerminalServiceSetting

AddLSToSpecifiedLicenseServerList

GetSpecifiedLicenseServerList

RemoveLSFromSpecifiedLicenseServerList

SetSpecifiedLicenseServerList