共用方式為


SPPrejoinedFarm Class

Represents an opened but not yet joined farm object. This object should only be used by an upgrade sequence, which needs to manipulate farm data before it can be joined.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPPrejoinedFarm

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

Syntax

'Declaration
<UpgradableAttribute> _
<GuidAttribute("60DB137C-8F42-4bb1-AB4C-9CE3CEA261D5")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPPrejoinedFarm _
    Inherits SPPersistedUpgradableObject
'Usage
Dim instance As SPPrejoinedFarm
[UpgradableAttribute]
[GuidAttribute("60DB137C-8F42-4bb1-AB4C-9CE3CEA261D5")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPPrejoinedFarm : SPPersistedUpgradableObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPPrejoinedFarm Members

Microsoft.SharePoint.Administration Namespace