描述
SWbemPrivilege对象的DisplayName属性是一个字符串,显示SWbemPrivilege对象的描述。例如,控制用户是否可以执行对象的关闭方法的权限在SWbemPrivilege.DisplayName属性中具有“关闭系统”字符串。此属性为只读。
PowerBASIC 语法
PROPERTY GET DisplayName () AS WSTRING PROPERTY SET DisplayName (BYVAL strDisplayName AS WSTRING) |
参数(仅限集属性)
strDisplayName
BSTR.SWbemPrivilege对象的描述。
返回值(仅获取资源)
BSTR.SWbemPrivilege对象的描述。
要求
客户 |
需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95 OSR2及更高版本。 |
服务器 |
需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。 |
类型库 |
使用Wbemdisp.tlb。 |
头 |
Wbemdisp.inc。 |
DLL |
需要Wbemdisp.dll。 |


