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 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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DeployDatabaseProject Overload
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace