共用方式為


SPServiceProxy class

代表已安裝在伺服器陣列中的服務 proxy。

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)

Syntax

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

請參閱

參照

SPServiceProxy members

Microsoft.SharePoint.Administration namespace