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


IGpDispatch.TestSchemaLock Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.TestSchemaLock Method
ArcGIS Developer Help

IGpDispatch.TestSchemaLock Method

Tests if an exclusive schema lock is set on a dataset.

[Visual Basic .NET]
Public Function TestSchemaLock ( _
    ByVal FileName As String _
) As String
[C#]
public string TestSchemaLock (
    string FileName
);
[C++]
HRESULT TestSchemaLock(
  BSTR FileName
);
[C++]
Parameters
FileName [in]

FileName is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface