SharePoint2007Provider::DeleteSubSite

This procedure deletes the specified Sharepoint subsite.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<siteGUID>

Yes

The globally unique identifier (GUID) of Windows SharePoint Services site collection.

<subSiteGUID>

Yes

The GUID of sub site.

<siteName>

Yes

The name of the sub site to delete.

Remarks

No remarks.

Sample Code

Example XML Request for Hosted Messaging and Collaboration version 4.5

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="DeleteSubSite" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>aae77831-e118-4b5b-b430-0324028aa2e5</siteGUID> 
            <subSiteGUID>b7ca74a0-f618-4b1d-8638-bd299fc4275b</subSiteGUID> 
         </executeData> 
      </execute> 
   </procedure> 
</request>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::CreateSubSite