ITsSbResourcePluginStore::GetFarmProperty method (sbtsv.h)

Retrieves a property of a farm.

Syntax

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

Parameters

[in] farmName

The name of the farm.

[in] propertyName

The name of the property to retrieve.

[in] 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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx