IProtectionEngine.RegisterContentForTrackingAndRevocation 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.
Overloads
RegisterContentForTrackingAndRevocation(PublishingLicenseInfo, String, Boolean) |
Register publishing license (PL) for document tracking and revocation. |
RegisterContentForTrackingAndRevocation(PublishingLicenseInfo, String, Boolean, ProtectionCommonSettings) |
Register publishing license (PL) for document tracking and revocation. |
RegisterContentForTrackingAndRevocation(PublishingLicenseInfo, String, Boolean)
Register publishing license (PL) for document tracking and revocation.
public void RegisterContentForTrackingAndRevocation (Microsoft.InformationProtection.Protection.PublishingLicenseInfo licenseInfo, string contentName, bool isOwnerNotificationEnabled);
abstract member RegisterContentForTrackingAndRevocation : Microsoft.InformationProtection.Protection.PublishingLicenseInfo * string * bool -> unit
Public Sub RegisterContentForTrackingAndRevocation (licenseInfo As PublishingLicenseInfo, contentName As String, isOwnerNotificationEnabled As Boolean)
Parameters
- licenseInfo
- PublishingLicenseInfo
Publishing license from the protected content.
- contentName
- String
The name to associate with the content specified by the serializedPublishingLicense. If the serializedPublishingLicense specifies a content name, that value will take precedence.
- isOwnerNotificationEnabled
- Boolean
Set to true to notify the owner via email whenever the document is decrypted, or false to not send the notification.
Applies to
RegisterContentForTrackingAndRevocation(PublishingLicenseInfo, String, Boolean, ProtectionCommonSettings)
Register publishing license (PL) for document tracking and revocation.
public void RegisterContentForTrackingAndRevocation (Microsoft.InformationProtection.Protection.PublishingLicenseInfo licenseInfo, string contentName, bool isOwnerNotificationEnabled, Microsoft.InformationProtection.Protection.ProtectionCommonSettings settings = default);
abstract member RegisterContentForTrackingAndRevocation : Microsoft.InformationProtection.Protection.PublishingLicenseInfo * string * bool * Microsoft.InformationProtection.Protection.ProtectionCommonSettings -> unit
Public Sub RegisterContentForTrackingAndRevocation (licenseInfo As PublishingLicenseInfo, contentName As String, isOwnerNotificationEnabled As Boolean, Optional settings As ProtectionCommonSettings = Nothing)
Parameters
- licenseInfo
- PublishingLicenseInfo
Publishing license from the protected content.
- contentName
- String
The name to associate with the content specified by the serializedPublishingLicense. If the serializedPublishingLicense specifies a content name, that value will take precedence.
- isOwnerNotificationEnabled
- Boolean
Set to true to notify the owner via email whenever the document is decrypted, or false to not send the notification.
- settings
- ProtectionCommonSettings
Common settings for protection