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


IDataStoreValidator.ValidateAccess Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IDataStoreValidator.ValidateAccess Method

Tests access to the data store.

[Visual Basic .NET]
Public Function ValidateAccess ( _
    ByVal dataStore As String, _
    ByVal dataStoreType As String _
) As Boolean
[C#]
public bool ValidateAccess (
    string dataStore,
    string dataStoreType
);
[C++]
HRESULT ValidateAccess(
  BSTR dataStore,
  BSTR dataStoreType,
  VARIANT_BOOL* isValid
);
[C++]

Parameters dataStore [in] dataStore is a parameter of type BSTR dataStoreType [in] dataStoreType is a parameter of type BSTR isValid [out, retval] isValid is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IDataStoreValidator Interface