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


IGpDispatch.TestSchemaLock Method (ArcObjects .NET 10.5 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,
  BSTR* Status
);
[C++]

Parameters FileName [in] FileName is a parameter of type BSTR Status [out, retval] Status is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface