Поделиться через


DatabaseTestService.DeployDatabaseProject Method ()

When overridden in a derived class, deploys the database project prior to the unit test being run.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)

Syntax

'Declaration
Public Overridable Sub DeployDatabaseProject
'Usage
Dim instance As DatabaseTestService

instance.DeployDatabaseProject
public virtual void DeployDatabaseProject ()
public:
virtual void DeployDatabaseProject ()
public void DeployDatabaseProject ()
public function DeployDatabaseProject ()

Remarks

Override this method if you want to control database deployment behavior. For example, you might want to deploy to an Oracle database. These methods use the privileged context to deploy the database project.

This method reads the appropriate parameters from the app.config file and then calls

DeployDatabaseProject if they are present.

See Also

Reference

DatabaseTestService Class
DatabaseTestService Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace