This document is archived and information here might be outdated.  Recommended version.


ICheckOut.CheckOutData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IC > ICheckOut Interface > ICheckOut.CheckOutData Method
ArcGIS Developer Help

ICheckOut.CheckOutData Method

Checks out schema and data from a master geodatabase.

[Visual Basic .NET]
Public Sub CheckOutData ( _
    ByVal rDDescriptions As IReplicaDescription, _
    ByVal transferRelObjects As Boolean, _
    ByVal checkoutName As String _
)
[C#]
public void CheckOutData (
    IReplicaDescription rDDescriptions,
    bool transferRelObjects,
    string checkoutName
);
[C++]
HRESULT CheckOutData(
  IReplicaDescription* rDDescriptions,
  VARIANT_BOOL transferRelObjects,
  BSTR checkoutName
);
[C++]
Parameters
rDDescriptions [in]

rDDescriptions is a parameter of type IReplicaDescription* transferRelObjects [in]
transferRelObjects is a parameter of type bool checkoutName [in]
checkoutName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The CheckoutData method checks out schema and Data.

In order to perform a check-out, you need to set the rDDescriptions parameter to define the data to check out. See the ReplicaDescription coclass for more information. The CheckoutName is a string that uniquely identifies the checkout on the parent replica geodatabase (master geodatabase) and the check-out databases.

If you set transferRelatedObjects to TRUE, related features/rows from other feature classes/tables will also be checked out. Otherwise, they are not checked out. Note that the schema of the related objects is always included regardless of whether transferRelatedObjects is TRUE or FALSE.

See Also

ICheckOut Interface | CheckIn Class | ICheckIn.CheckInFromGDB Method | ICheckIn Interface