ITsSbResourcePluginStore::SetEnvironmentProperty method (sbtsv.h)

Sets a property of an environment.

Syntax

HRESULT SetEnvironmentProperty(
  [in] BSTR    EnvironmentName,
  [in] BSTR    PropertyName,
  [in] VARIANT *pProperty
);

Parameters

[in] EnvironmentName

The name of the environment.

[in] PropertyName

The name of the property to set.

[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

ITsSbEnvironment

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx

SetEnvironmentPropertyWithVersionCheck