IProtectionEngine.CreateProtectionHandlerForPublishingAsync Method

Definition

Starts creating a protection handler where rights/roles are assigned to specific users.

public System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionHandler> CreateProtectionHandlerForPublishingAsync (Microsoft.InformationProtection.Protection.PublishingSettings settings);
abstract member CreateProtectionHandlerForPublishingAsync : Microsoft.InformationProtection.Protection.PublishingSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Protection.IProtectionHandler>
Public Function CreateProtectionHandlerForPublishingAsync (settings As PublishingSettings) As Task(Of IProtectionHandler)

Parameters

settings
PublishingSettings

Protection settings.

Returns

A task that represents the asynchronous create operation. The value of the TResult parameter contains IProtectionHandler.

Applies to