ITsSbTarget::FarmName property

Retrieves or specifies the name of the farm to which this target is joined.

This property is read/write.

Syntax

HRESULT put_FarmName(
  [in]          BSTR Val
);

HRESULT get_FarmName(
  [out, retval] BSTR *pVal
);

Property value

A BSTR variable that contains the farm name.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
IDL
Sbtsv.idl
IID
IID_ITsSbTarget is defined as:
  • 16616ECC-272D-411D-B324-126893033856
  • e85e10ea-db0b-4752-b456-5fd5840901c0 on Windows Server 2008 R2

See also

ITsSbTargetEx

ITsSbTarget