Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Turns the auto-protection setting for a SQL Server instance on or off.
Set-AutoProtectIntent [-ProductionServer] <ProductionServer> [-SQLInstanceName] <String> [-AutoProtectIntent] <AutoProtectIntent> [-ProtectionGroup] <ProtectionGroup> [<CommonParameters>]
The Set-AutoProtectIntent cmdlet turns the auto-protection setting for a SQL Server instance on or off.
A server that has a DPM agent installed on it.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
3 |
The SQL Server instance for which you want to set auto-protection or retrieve auto-protection setting.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
1 |
Indicates whether auto-protection should be turned on or off.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
2 |
The name of a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-HelpSet-AutoProtectIntent -detailed".
For technical information, type "Get-Help Set-AutoProtectIntent -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.