IProtectionEngine.CreateProtectionHandlerForPublishingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.