This document is archived and information here might be outdated. Recommended version. |
Indicates if the map document is protected by a passsword.
[Visual Basic .NET]
Public Function get_IsPasswordProtected ( _
ByVal sDocument As String _
) As Boolean
[C#]
public bool get_IsPasswordProtected (
string sDocument
);
[C++]
HRESULT get_IsPasswordProtected(
BSTR sDocument,
Boolean* IsPasswordProtected
);
[C++] Parameters sDocument [in]
sDocument is a parameter of type BSTR IsPasswordProtected [out, retval]
IsPasswordProtected is a parameter of type bool*
Determines whether the specified file is password protected. To open password protected MapDocuments supply the correct password to the Open method.