ITsSbResourcePluginStore::GetFarmProperty method

Retrieves a property of a farm.

Syntax

HRESULT GetFarmProperty(
  BSTR    farmName,
  BSTR    propertyName,
  VARIANT *pVarValue
);

Parameters

farmName

The name of the farm.

propertyName

The name of the property to retrieve.

pVarValue

Returns a pointer to the value of the property.

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

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx