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


IDataStoreValidator.ValidateAccess Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > ID > IDataStoreValidator Interface > IDataStoreValidator.ValidateAccess Method
ArcGIS Developer Help

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
);
[C++]
Parameters
dataStore [in]

dataStore is a parameter of type BSTR dataStoreType [in]
dataStoreType is a parameter of type BSTR

Product Availability

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

See Also

IDataStoreValidator Interface