SPCmdlet.RequireLocalFarmExist method

Gets or sets a Boolean value that specifies whether a local farm must exist before the cmdlet can execute.

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Protected Overridable Function RequireLocalFarmExist As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.RequireLocalFarmExist()
protected virtual bool RequireLocalFarmExist()

Return value

Type: System.Boolean
Returns true if a local farm is required.

See also

Reference

SPCmdlet class

SPCmdlet members

Microsoft.SharePoint.PowerShell namespace