Export (0) Print
Expand All

SPIisWebServiceProxy class

Abstract class that derived classes can use to represent a Web service proxy installed in a server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
<GuidAttribute("9AAC1C77-4274-4595-9CB0-9740B73E5A70")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPIisWebServiceProxy _
	Inherits SPServiceProxy
'Usage
Dim instance As SPIisWebServiceProxy

This sample demonstrates using SPIisWebServiceProxy and IServiceProxyAdministration.

Friend NotInheritable Class SampleWebServiceProxy
    Inherits SPIisWebServiceProxy
    Implements IServiceProxyAdministration

        Public Sub New()
        End Sub

        ' NOTE: A constructor with the signature (String, SPFarm) is required
        ' if this service proxy is installed by psconfig -cmd services -install.
        Friend Sub New(ByVal farm As SPFarm)
            MyBase.New(farm)
        End Sub

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

Community Additions

ADD
Show:
© 2014 Microsoft