Previous Page | Next Page

Server Control (IServer Interface)

Resume

Returns a paused SAS Metadata Server to an ONLINE state.

Category: Server control methods


Syntax

rc=Resume(options);

Parameter Type Direction Description
rc N out Return code for the method. Indicates whether the SAS Metadata Server ran the method call. RC=0 means it did, RC=1 means it did not.
options C in
<REPOSITORY/>

Deprecated in SAS 9.2.

<SERVER/>

Specifies to return the SAS Metadata Server to an ONLINE state.


Details

A user must have administrative user status on the SAS Metadata Server to issue the Resume method.

The Resume method returns a SAS Metadata Server that has been paused to an ONLINE state. The ONLINE state makes the server available to process client requests.

Beginning in SAS 9.2, the Resume method cannot be used to change the availability of specific metadata repositories. If the Resume method is issued with the <REPOSITORY/> element, the SAS Metadata Server returns an error.

If the Resume method is issued without options, the method operates as if the <SERVER/> element was specified.


Example

The following example returns the SAS Metadata Server to an ONLINE state:

<! --- Resume the server to its normal access mode --->
options=' ';

rc=serverObject.Resume(options);

Previous Page | Next Page | Top of Page