Remove(System.Guid) Method
The Remove method of the DatabaseCollection class removes the Database instance specified by the databaseId parameter from the topology of the server farm.
Parameters
databaseId A GUID representing the primary key of the Database instance in the Databases table.
Remarks
The Remove method calls the proc_dropDatabase stored procedure to remove the Database object that has databaseId as its primary key value in the Databases table.
The Remove method does not report any errors for a valid GUID that is not a valid database identifier.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security