ITsSbResourceNotificationEx::NotifyTargetChangeEx 方法 (sbtsv.h)

通知已注册的插件有关目标对象中的状态更改。

语法

HRESULT NotifyTargetChangeEx(
  [in] BSTR  targetName,
  [in] DWORD targetChangeType
);

参数

[in] targetName

目标的名称。

[in] targetChangeType

TARGET_CHANGE_TYPE 枚举的值,该值指定目标中发生的更改的类型。

返回值

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端 无受支持的版本
最低受支持的服务器 Windows Server 2012
目标平台 Windows
标头 sbtsv.h

另请参阅

ITsSbResourceNotification

ITsSbResourceNotificationEx