Condividi tramite


TeamFoundationDataTierComponent.DropDatabase Method (String, DropDatabaseOptions)

Drops specified database.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub DropDatabase ( _
    databaseName As String, _
    dropDatabaseOptions As DropDatabaseOptions _
)
public void DropDatabase(
    string databaseName,
    DropDatabaseOptions dropDatabaseOptions
)
public:
void DropDatabase(
    String^ databaseName, 
    DropDatabaseOptions dropDatabaseOptions
)
member DropDatabase : 
        databaseName:string * 
        dropDatabaseOptions:DropDatabaseOptions -> unit
public function DropDatabase(
    databaseName : String, 
    dropDatabaseOptions : DropDatabaseOptions
)

Parameters

Remarks

On Sql Azure this method can only be called if component is connected to the master database.

.NET Framework Security

See Also

Reference

TeamFoundationDataTierComponent Class

DropDatabase Overload

Microsoft.TeamFoundation.Framework.Server Namespace