SPWebServerCollection.Delete Method
Deletes the Web server object with the specified name from the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Delete ( _
strName As String _
)
'Usage
Dim instance As SPWebServerCollection
Dim strName As String
instance.Delete(strName)
public void Delete(
string strName
)
Parameters
strName
Type: System.StringA string that contains the name of the Web server.