ITsSbResourcePluginStore::SetTargetProperty method (sbtsv.h)

Sets the value of a property of a target.

Syntax

HRESULT SetTargetProperty(
  [in] BSTR    TargetName,
  [in] BSTR    PropertyName,
  [in] VARIANT *pProperty
);

Parameters

[in] TargetName

The name of the target.

[in] PropertyName

The name of the property.

[in] pProperty

A pointer to the value to set.

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

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx

SetTargetPropertyWithVersionCheck