共用方式為


SPPrejoinedFarm.Farm Property

Gets an SPFarm for this not yet joined farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Farm As SPFarm
    Get
'Usage
Dim instance As SPPrejoinedFarm
Dim value As SPFarm

value = instance.Farm
public SPFarm Farm { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPFarm
An SPFarm object representing this farm.

See Also

Reference

SPPrejoinedFarm Class

SPPrejoinedFarm Members

Microsoft.SharePoint.Administration Namespace