ITsSbResourcePluginStore::SetTargetState method (sbtsv.h)
Sets the state of a target object.
Syntax
HRESULT SetTargetState(
[in] BSTR targetName,
[in] TARGET_STATE newState,
[out] TARGET_STATE *pOldState
);
Parameters
[in] targetName
The name of the target.
[in] newState
The TARGET_STATE value to set.
[out] pOldState
The previous state of the target.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | sbtsv.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for