共用方式為


Start-DLPEnforcementOnConnectionsInTenant

Enforces DLP policies on connections in the tenant. This will disable connections that are violating DLP policies.

Syntax

Start-DLPEnforcementOnConnectionsInTenant
     [[-JobMode] <String>]
     [[-ApiVersion] <String>]
     [<CommonParameters>]

Description

The Start-DLPEnforcementOnConnectionsInTenant cmdlet disables connections that are violating DLP policies for all environments in the tenant. Use Get-Help Start-DLPEnforcementOnConnectionsInTenant -Examples for more detail.

Examples

EXAMPLE 1

Start-DLPEnforcementOnConnectionsInTenant

Enforces DLP policies on connections in the tenant. This will disable connections that are violating DLP policies.

Parameters

-ApiVersion

The api version to call with. Default 2016-11-01

Type:String
Position:2
Default value:2021-02-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-JobMode

Optionally provide the job mode.

Type:String
Position:1
Default value:EvaluateAndUpdateConnections
Required:False
Accept pipeline input:False
Accept wildcard characters:False