Unextendvs: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

Operation name: Unextendvs

Description

Removes Windows SharePoint Services 3.0 from a particular Web application. Use the deletecontent parameter to delete the content databases for the Web application.

Important

The account that you use to run the Stsadm command-line tool must be a member of the Administrators group on the local computer. Because this operation affects a content or configuration database, you must also be a member of the following fixed server roles in SQL Server: dbcreator.

Syntax

stsadm -o unextendvs

**   -url <URL name>**

**   -[deletecontent]**

**   -[deleteiissites]**

Parameters

Parameter name Value Required? Description

url

A valid URL name, such as http://server_name

Yes

The name of the Web application.

deletecontent

<none>

No

Deletes the content database from a specified Web application.

deleteiissites

<none>

No

Deletes IIS Web sites that are associated with a Web application.