Checks if specified resource exists for specified item.
[Visual Basic]
Function ResourceExists( _
ByVal itemName As String, _
ByVal resourceName As String _
) As Boolean
The types of repository items supported are:
| Item Type | Description |
|---|---|
| Workspace | Specified with an "fmw" extension. ie. foo.fmw |
| Custom Format | Specified with a "fds" extension. ie. foo.fds |
| Custom Transformer | Specified with a "fmx" extension. ie. foo.fmx |
true if resource exists, otherwise false if resource does not exist
| Exception Type | Condition |
|---|---|
| Safe.FMEServer.API.FMEServerException | if a FME Server exception occurred |
IFMERepository Interface | IFMERepository Members | Safe.FMEServer.API Namespace