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

    A string that contains the name of the Web server.

See Also

Reference

SPWebServerCollection Class

SPWebServerCollection Members

Microsoft.SharePoint.Administration Namespace