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


IGpDispatch.TestSchemaLock Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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