sp_dbmmonitordropmonitoring (Transact-SQL)

Applies to: SQL Server

Stops and deletes the mirroring monitor job for all the databases on the server instance.

Transact-SQL syntax conventions

Syntax

sp_dbmmonitordropmonitoring
[ ; ]

Arguments

None

Return code values

None.

Result set

None.

Permissions

Requires membership in the sysadmin fixed server role, or execute permission directly on this stored procedure.

Examples

The following example drops database mirroring monitoring on all of the mirrored databases on the server instance.

EXEC sp_dbmmonitordropmonitoring;