Share via


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)

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.String

    A string that contains the name of the Web server.

See also

Reference

SPWebServerCollection class

SPWebServerCollection members

Microsoft.SharePoint.Administration namespace