|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceReplicas
Provides access to members that return objects containing information about replicas.
Use this interface with geodatabases that are involved in check-outs. Methods and properties are included to return Replica objects which provide more information about specific checkouts. The interface can be used with either master or check-out geodatabases.
IWorkspaceReplicas
,
IWorkspaceReplicasAdmin
,
IWorkspaceReplicaDatasets
Method Summary | |
---|---|
IReplica |
getReplicaByGuid(String replicaGuid)
The replica or reference to a replica with the specified ID. |
IReplica |
getReplicaByID(int replicaID)
The replica or reference to a replica with the specified ID. |
IReplica |
getReplicaByName(String replicaName)
The replica or reference to a replica with the specified name. |
IEnumReplica |
getReplicas()
Replicas contained by or refernced by this workspace. |
void |
refreshReplicas()
Re-reads the list of replicas from the database. |
Method Detail |
---|
IEnumReplica getReplicas() throws IOException, AutomationException
When using this method to get check-out information from a personal or File geodatabase, the enumeration will return no more than one Replica object. This is because personal and File geodatabases can only host one check-out. Many replicas may be returned with ArcSDE geodatabases since ArcSDE can host a check-out plus have references to many other check-outs.
If no replicas are returned, the geodatabase is not involved in an active check-out.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IReplica getReplicaByName(String replicaName) throws IOException, AutomationException
replicaName
- The replicaName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IReplica getReplicaByID(int replicaID) throws IOException, AutomationException
replicaID
- The replicaID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IReplica getReplicaByGuid(String replicaGuid) throws IOException, AutomationException
replicaGuid
- The replicaGuid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refreshReplicas() throws IOException, AutomationException
Use this method to make your connection aware of check-outs being performed concurrently by other connections to the same database.
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 |