This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.TestSchemaLock Method (ArcObjects .NET 10.4 SDK) |
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