|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPReplicaOptions
This interface contains properties that define the options to use when creating a replica.
Method Summary | |
---|---|
int |
getAccessType()
The replica access type. |
String |
getChildConnectionString()
The connection string for the child geodatabase. |
int |
getChildReconcilePolicy()
The childs replica reconcile property. |
String |
getParentConnectionString()
The connection string for the parent geodatabase. |
int |
getParentReconcilePolicy()
The parents replica reconcile policy. |
boolean |
isChildFirstSender()
Indicates if the child replica will be the first sender. |
boolean |
isRegisterReplicaOnly()
Indicates if the replica will be created using the register existing data only option. |
void |
setAccessType(int accessType)
The replica access type. |
void |
setChildConnectionString(String childConnectionString)
The connection string for the child geodatabase. |
void |
setChildReconcilePolicy(int childPolicy)
The childs replica reconcile property. |
void |
setIsChildFirstSender(boolean childIsFirstSender)
Indicates if the child replica will be the first sender. |
void |
setParentConnectionString(String parentConnectionString)
The connection string for the parent geodatabase. |
void |
setParentReconcilePolicy(int parentPolicy)
The parents replica reconcile policy. |
void |
setRegisterReplicaOnly(boolean registerReplicaData)
Indicates if the replica will be created using the register existing data only option. |
Method Detail |
---|
void setIsChildFirstSender(boolean childIsFirstSender) throws IOException, AutomationException
childIsFirstSender
- The childIsFirstSender (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isChildFirstSender() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAccessType(int accessType) throws IOException, AutomationException
accessType
- A com.esri.arcgis.geodatabase.esriReplicaAccessType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAccessType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setChildReconcilePolicy(int childPolicy) throws IOException, AutomationException
childPolicy
- A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getChildReconcilePolicy() throws IOException, AutomationException
For the current release of ArcGIS, the only valid value for this property is esriReplicaResolveConflictsNone. When creating a replica, an error occurs if you try to use differnet enumeration value.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParentReconcilePolicy(int parentPolicy) throws IOException, AutomationException
parentPolicy
- A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getParentReconcilePolicy() throws IOException, AutomationException
For the current release of ArcGIS, the only valid value for this property is esriReplicaResolveConflictsNone. When creating a replica, an error occurs if you try to use differnet enumeration value.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRegisterReplicaOnly(boolean registerReplicaData) throws IOException, AutomationException
registerReplicaData
- The registerReplicaData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRegisterReplicaOnly() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setChildConnectionString(String childConnectionString) throws IOException, AutomationException
childConnectionString
- The childConnectionString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getChildConnectionString() throws IOException, AutomationException
Set this property to the connection string for the ArcSDE geodatabase or the geodata service referencing the ArcSDE geodatabase that will host the child replica. Setting the property stores the connection string with the parent replica. This allows you to synchronzie without having to ask for the child replicas geodatabase when synchronizing from the parent.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParentConnectionString(String parentConnectionString) throws IOException, AutomationException
parentConnectionString
- The parentConnectionString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getParentConnectionString() throws IOException, AutomationException
Set this property to the connection string for the ArcSDE geodatabase or the geodata service referencing the ArcSDE geodatabase that will host the parent replica. Setting the property stores the connection string with the child replica. This allows you to synchronzie without having to ask for the parent replicas geodatabase when synchronizing from the child.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |