Export (0) Print
Expand All
Expand Minimize

Remove-ASMonitoringSqlDatabaseArchiveConfiguration

Remove-ASMonitoringSqlDatabaseArchiveConfiguration

Removes configuration information about a monitoring database’s archive database. This assumes that the archive configuration was previously configured by using Set-ASMonitoringSqlDatabaseArchiveConfiguration.

Syntax

Parameter Set: DatabaseNameAndServerName
Remove-ASMonitoringSqlDatabaseArchiveConfiguration -Database <String> [-Server <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


Parameters

-ConnectionString<String>

Connection string to the primary monitoring database. Optional only if the Database parameter is specified and Server is specified or defaulted to the local computer.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-Database<String>

Name of the primary database whose archive configuration you want to retrieve. Optional only if a connection string is specified.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-Server<String>

The name of the SQL Server that hosts the primary monitoring database. Optional, so if not specified this parameter defaults to the local computer.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None


Outputs

The output type is the type of the objects that the cmdlet emits.

  • None


Examples

Show:
© 2015 Microsoft