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