共用方式為


SPServiceProxy Class

Represents a service proxy installed in a server farm.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPServiceProxy
          Microsoft.SharePoint.Administration.SPIisWebServiceProxy
          Microsoft.SharePoint.Administration.SPUsageServiceProxy

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

Syntax

'Declaration
<GuidAttribute("A0140EA1-2D63-4F20-AF0B-20AA44C6B5F2")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPServiceProxy _
    Inherits SPPersistedUpgradableObject
'Usage
Dim instance As SPServiceProxy
[GuidAttribute("A0140EA1-2D63-4F20-AF0B-20AA44C6B5F2")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPServiceProxy : 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

SPServiceProxy Members

Microsoft.SharePoint.Administration Namespace