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