Condividi tramite


SPContentDatabaseCollection.Delete Method

Deletes the content database with the specified GUID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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