Class ServerTermbase
Represents a reference to a server-based termbase that can be added to the TermbaseConfiguration of a project.
Inherited Members
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class ServerTermbase : Termbase
Constructors
ServerTermbase(string, Uri)
Constructor with a server-based termbase name.
Declaration
public ServerTermbase(string name, Uri serverUri)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the termbase. |
| Uri | serverUri | The URI of the termbase server (e.g. http[s]://hostname[:port]). |
ServerTermbase(string, Uri, string)
Constructor with a server-based termbase name.
Declaration
public ServerTermbase(string name, Uri serverUri, string settingsXML)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the termbase. |
| Uri | serverUri | The URI of the termbase server (e.g. http[s]://hostname[:port]). |
| string | settingsXML | Project termbase settings |
ServerTermbase(string, Uri, string, bool)
Constructor with a server-based termbase name, filter name and enabled value.
Declaration
public ServerTermbase(string name, Uri serverUri, string filterName, bool enabled)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the termbase. |
| Uri | serverUri | The URI of the termbase server (e.g. http[s]://hostname[:port]). |
| string | filterName | The name of the termbase filter that should be used when performing lookups in this termbase. This should be the valid name of a filter that is defined within the termbase. |
| bool | enabled | Whether the termbase should be enabled. When set to , the termbase is excluded from
all termbase-related operations.
|
ServerTermbase(string, Uri, string, string, bool)
Constructor with a server-based termbase name, filter name and enabled value.
Declaration
public ServerTermbase(string name, Uri serverUri, string settingsXML, string filterName, bool enabled)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the termbase. |
| Uri | serverUri | The URI of the termbase server (e.g. http[s]://hostname[:port]). |
| string | settingsXML | Project termbase settings. Use null for default settings |
| string | filterName | The name of the termbase filter that should be used when performing lookups in this termbase. This should be the valid name of a filter that is defined within the termbase. |
| bool | enabled | Whether the termbase should be enabled. When set to , the termbase is excluded from
all termbase-related operations.
|
Properties
TermbaseServerUri
Gets or sets the connection URI for the termbase server. This should be of the form "http[s]://hostname[:port]".
Declaration
public Uri TermbaseServerUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |