Share via


ProtectionPolicyAuditInfo Constructors

Definition

Overloads

ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction, String)

Note

Starting in July 2022, Microsoft is deprecating Windows Information Protection (WIP) and the APIs that support WIP. Microsoft will continue to support WIP on supported versions of Windows. New versions of Windows won't include new capabilities for WIP, and it won't be supported in future versions of Windows. For more information, see Announcing sunset of Windows Information Protection.

For your data protection needs, Microsoft recommends that you use Microsoft Purview Information Protection and Microsoft Purview Data Loss Prevention. Purview simplifies the configuration set-up and provides an advanced set of capabilities.

Initializes a new instance of the class.

ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction, String, String, String)

Note

Starting in July 2022, Microsoft is deprecating Windows Information Protection (WIP) and the APIs that support WIP. Microsoft will continue to support WIP on supported versions of Windows. New versions of Windows won't include new capabilities for WIP, and it won't be supported in future versions of Windows. For more information, see Announcing sunset of Windows Information Protection.

For your data protection needs, Microsoft recommends that you use Microsoft Purview Information Protection and Microsoft Purview Data Loss Prevention. Purview simplifies the configuration set-up and provides an advanced set of capabilities.

Initializes a new instance of the class.

ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction, String)

Note

Starting in July 2022, Microsoft is deprecating Windows Information Protection (WIP) and the APIs that support WIP. Microsoft will continue to support WIP on supported versions of Windows. New versions of Windows won't include new capabilities for WIP, and it won't be supported in future versions of Windows. For more information, see Announcing sunset of Windows Information Protection.

For your data protection needs, Microsoft recommends that you use Microsoft Purview Information Protection and Microsoft Purview Data Loss Prevention. Purview simplifies the configuration set-up and provides an advanced set of capabilities.

Initializes a new instance of the class.

public:
 ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction action, Platform::String ^ dataDescription);
 ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction const& action, winrt::hstring const& dataDescription);
public ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction action, string dataDescription);
function ProtectionPolicyAuditInfo(action, dataDescription)
Public Sub New (action As ProtectionPolicyAuditAction, dataDescription As String)

Parameters

action
ProtectionPolicyAuditAction

The audit action.

dataDescription
String

Platform::String

winrt::hstring

A description of the data being audited.

See also

Applies to

ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction, String, String, String)

Note

Starting in July 2022, Microsoft is deprecating Windows Information Protection (WIP) and the APIs that support WIP. Microsoft will continue to support WIP on supported versions of Windows. New versions of Windows won't include new capabilities for WIP, and it won't be supported in future versions of Windows. For more information, see Announcing sunset of Windows Information Protection.

For your data protection needs, Microsoft recommends that you use Microsoft Purview Information Protection and Microsoft Purview Data Loss Prevention. Purview simplifies the configuration set-up and provides an advanced set of capabilities.

Initializes a new instance of the class.

public:
 ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction action, Platform::String ^ dataDescription, Platform::String ^ sourceDescription, Platform::String ^ targetDescription);
 ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction const& action, winrt::hstring const& dataDescription, winrt::hstring const& sourceDescription, winrt::hstring const& targetDescription);
public ProtectionPolicyAuditInfo(ProtectionPolicyAuditAction action, string dataDescription, string sourceDescription, string targetDescription);
function ProtectionPolicyAuditInfo(action, dataDescription, sourceDescription, targetDescription)
Public Sub New (action As ProtectionPolicyAuditAction, dataDescription As String, sourceDescription As String, targetDescription As String)

Parameters

action
ProtectionPolicyAuditAction

The audit action.

dataDescription
String

Platform::String

winrt::hstring

A description of the data being audited.

sourceDescription
String

Platform::String

winrt::hstring

A description of the source of the data.

targetDescription
String

Platform::String

winrt::hstring

A description of the target of the data.

See also

Applies to