Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

[GuidAttribute("9AAC1C77-4274-4595-9CB0-9740B73E5A70")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPIisWebServiceProxy : SPServiceProxy

This sample demonstrates using SPIisWebServiceProxy and IServiceProxyAdministration.

internal sealed class SampleWebServiceProxy : SPIisWebServiceProxy, IServiceProxyAdministration
    {

        public SampleWebServiceProxy()
        {
        }

        // NOTE: A constructor with the signature (String, SPFarm) is required
        // if this service proxy is installed by psconfig -cmd services -install.
        internal SampleWebServiceProxy(
            SPFarm farm)
            : base(farm)
        {
        }


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