This documentation is archived and is not being maintained.

_Document.ProtectionType Property

Returns the protection type for the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

ReadOnly Property ProtectionType As WdProtectionType
Dim instance As _Document
Dim value As WdProtectionType

value = instance.ProtectionType

The returned protection type can be one of the following WdProtectionType constants: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions, or wdNoProtection.