IMetabaseUpdate.AccessAllowed

Syntax

AccessAllowed: MetabaseUpdateAccessType;

Description

The AccessAllowed property returns the type of access to the repository.

Example

Executing the example requires the C:\Update.pefx update file.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
Begin
    MB := MetabaseClass.Active;
    Update := Mb.CreateUpdate;
    Update.LoadFromFileNF("C:\Update.pefx");
    debug.WriteLine(Update.AccessAllowed);
End Sub UserProc; 

After executing the example the console window will display index of the type of access to the update.

See also:

IMetabaseUpdate