Admin Class

Provides methods for managing a deployment of Microsoft Windows SharePoint Services, such as for creating or deleting site collections.

Web Service: AdministrationWeb Reference: http://<AdminSite>/_vti_adm/Admin.asmx

Syntax

<DebuggerStepThroughAttribute> _
<WebServiceBindingAttribute(Name:="AdminSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DesignerCategoryAttribute("code")> _
Public Class Admin
    Inherits SoapHttpClientProtocol

Dim instance As Admin
[DebuggerStepThroughAttribute] 
[WebServiceBindingAttribute(Name="AdminSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DesignerCategoryAttribute("code")] 
public class Admin : SoapHttpClientProtocol

Remarks

The account that accesses this Web service must be a member of the Farm Administrators group in the Central Administration site. By default, the server's local Administrators group is in the Farm Administrators group.

To access the Admin service and its methods, set a Web reference to http://Virtual_Server_Name:Port_Number/_vti_adm/Admin.asmx.

Note

This service is available only on the Central Administration Web application, not in any of the content Web applications.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Administration.Admin

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

Admin Members
Administration Web Service