ESRI.ArcGIS.DataManagementTools
CreateReplica Constructor(Object,String,Object,String,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > CreateReplica Class > CreateReplica Constructor : CreateReplica Constructor(Object,String,Object,String,String)




in_data
The data to be replicated. This list consists of layers and tables referencing versioned, editable data from an ArcSDE geodatabase. (In, Required)
in_type
The kind of replica to create. (In, Required)
out_geodatabase
The local geodatabase or geodata service that will host the child replica. Geodata services are used to represent remote geodatabases. The geodatabase can be an ArcSDE, file, or personal geodatabase. For two-way replicas the child geodatabase must be ArcSDE. For one-way and check-out replicas the geodatabase can be personal, file, or ArcSDE. Personal or file geodatabases must already exist before running this tool. (In, Required)
out_name
The name that identifies the replica. (In, Required)
archiving
Specifies whether to use the archive class to track changes instead of using the versioning delta tables. This is only available for one-way replicas. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_data As Object, _
   ByVal in_type As String, _
   ByVal out_geodatabase As Object, _
   ByVal out_name As String, _
   ByVal archiving As String _
)
Visual Basic (Usage)Copy Code
Dim in_data As Object
Dim in_type As String
Dim out_geodatabase As Object
Dim out_name As String
Dim archiving As String
 
Dim instance As CreateReplica(in_data, in_type, out_geodatabase, out_name, archiving)
C# 
public CreateReplica( 
   object in_data,
   string in_type,
   object out_geodatabase,
   string out_name,
   string archiving
)

Parameters

in_data
The data to be replicated. This list consists of layers and tables referencing versioned, editable data from an ArcSDE geodatabase. (In, Required)
in_type
The kind of replica to create. (In, Required)
out_geodatabase
The local geodatabase or geodata service that will host the child replica. Geodata services are used to represent remote geodatabases. The geodatabase can be an ArcSDE, file, or personal geodatabase. For two-way replicas the child geodatabase must be ArcSDE. For one-way and check-out replicas the geodatabase can be personal, file, or ArcSDE. Personal or file geodatabases must already exist before running this tool. (In, Required)
out_name
The name that identifies the replica. (In, Required)
archiving
Specifies whether to use the archive class to track changes instead of using the versioning delta tables. This is only available for one-way replicas. (In, Required)

See Also

© 2010 All Rights Reserved.