Share via


SPContentDatabaseCollection.Delete method

Deletes the content database with the specified GUID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Delete ( _
    gDatabaseId As Guid _
)
'Usage
Dim instance As SPContentDatabaseCollection
Dim gDatabaseId As Guid

instance.Delete(gDatabaseId)
public void Delete(
    Guid gDatabaseId
)

Parameters

  • gDatabaseId
    Type: System.Guid

    A GUID that specifies the content database to delete.

See also

Reference

SPContentDatabaseCollection class

SPContentDatabaseCollection members

Microsoft.SharePoint.Administration namespace