ITsSbResourcePluginStore::SetEnvironmentProperty method

Sets a property of an environment.

Syntax

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

Parameters

EnvironmentName

The name of the environment.

PropertyName

The name of the property to set.

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

   
Windows version None supported Windows Server 2012
Target Platform Windows
Header sbtsv.h

See Also

ITsSbEnvironment

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx

SetEnvironmentPropertyWithVersionCheck