The MdOMRConnection
interface contains methods for connecting to and disconnecting from
the SAS Metadata Server. The MdOMRConnection interface can be retrieved
as follows:
MdOMRConnection connection = factory.getConnection();
connection.makeOMRConnection(serverName, serverPort, serverUser,
serverPassword);
A client that reads
and writes metadata uses the makeOMRConnection method to connect to
the SAS Metadata Server. The client disconnects from the server by
using the closeOMRConnection method.
The MdOMRConnection
interface also provides methods for connecting to the server with
the SAS Open Metadata Interface IServer, ISecurity, and ISecurityAdmin
server interfaces, and for getting information about the SAS Metadata
Server connection. The following table summarizes the methods in the
MdOMRConnection interface.
Basic MdOMRConnection Methods
|
|
|
Disconnects from the
SAS Metadata Server.
|
getIdentityofUserConnected
|
Gets the Identity object
of the connected user.
|
|
Gets the SAS version
of the SAS Metadata Server as an integer, which when printed as a
decimal number has four digits. For example, a SAS Metadata Server
running SAS 9.3 returns the value 9300, which represents version 9.3.0.0.
|
|
Gets the SAS Metadata
Model version number in the form XX.XX. (For example, 12.04.)
|
|
Obtains a handle to
the ISecurity server interface, which contains SAS Open Metadata Interface
authorization methods.
|
makeISecurityAdminConnection
|
Obtains a handle to
the ISecurityAdmin server interface, which contains SAS Open Metadata
Interface security administration methods.
|
|
Obtains a handle to
the IServer server interface, which contains SAS Open Metadata Interface
server control methods.
|
|
Obtains a handle to
the IOMI server interface, which contains SAS Open Metadata Interface
metadata access methods.
|