RESET  Examples

Used in:  REQUEST  
Servers:  Metadata (Publish)  
Parent elements:  PUBLISH_METADATA  

<RESET Attribute Description Table

     connection ="true | false"  [false]
     tables ="true | false"  [false]
>

     <WORKSPACES... />

</RESET >


Description:


Restrictions:


Notes:


Attribute Descriptions for RESET:

Attribute Usage Back to Top
connection 1 When set to "true", an ArcSDE connection should be re-established. An ArcSDE workspace must be specified.
tables 2 When set to "true", all ArcSDE tables in the repository are deleted and re-created. Use with caution.
 

Examples for RESET:

Example 1: When reconnecting to the current ArcSDE database or connecting to another ArcSDE database. Back to Top
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <PUBLISH_METADATA>
      <RESET connection="true">
        <WORKSPACES>
          <SDEWORKSPACE name="sde_esri" server="metadata" instance="port:5150" encrypted="true" password="LXEMUR" />
        </WORKSPACES>
      </RESET>  
    </PUBLISH_METADATA>
  </REQUEST>
</ARCXML>

Example 2: When tables="true". Use with caution. Back to Top
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <PUBLISH_METADATA>
      <RESET tables="true" />
    </PUBLISH_METADATA>
  </REQUEST>
</ARCXML>