Adds a new repository resource identified by the resource name with the resource specified at the local resource file path.
[Visual Basic]
Sub AddResource( _
ByVal itemName As String, _
ByVal resourceName As String, _
ByVal resourceFilePath As String _
)
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 |
Exception Type | Condition |
---|---|
Safe.FMEServer.API.FMEServerException | if a FME Server exception occurred. An exception will also occur if the resource to add already exists. |
IFMERepository Interface | IFMERepository Members | Safe.FMEServer.API Namespace