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


IGeoProcessor2.TestSchemaLock Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.TestSchemaLock Method

Test for the presence of a schema lock (already open for writing) of a given file or 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* pStatus
);
[C++]

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

Product Availability

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

See Also

IGeoProcessor2 Interface