Connects to the feature source specified by the resource identifier and verifies that the feature source has been correctly configured and installed in the resource repository. See Connection To Feature Source .
.NET Syntax
|
virtual bool TestConnection(MgResourceIdentifier resource);
|
Java Syntax
|
virtual boolean TestConnection(MgResourceIdentifier resource);
|
PHP Syntax
|
virtual bool TestConnection(MgResourceIdentifier resource);
|
- Parameters:
-
- Returns:
- Returns true if connection was successful; otherwise returns false.
Example (PHP)
$boolResult = $featureService->TestConnection("Library://FeatureService/testSHP.FeatureSource");
- Exceptions:
-