Archival: Boolean;
The Archival property returns True if the current security protocol was loaded from the file.
Sub Main;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
AL: IAuditLog;
s: String;
Begin
MB:=MetabaseClass.Active;
MS:=MB.Security;
Al:=MS.OpenAuditLog;
If Al.Archival Then
s:="Yes";
Else
s:="No";
End If;
End Sub Main;
After executing this example the "s" variable contains "Yes" if the access protocol was loaded from the file.
See also: