DataFunctionDefinition Class

Spotfire 14.3 API Reference
Represents a definition of an data function.

The definition describes the information needed to invoke the function and enough information to provide a user interface for specifying how the inputs and outputs should be handled. If the function definition represents a script it also contains the script definition.

The function definition provides methods to save and load the definition from the Spotfire library.

Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Data.DataFunctionsDataFunctionDefinition

Namespace:  Spotfire.Dxp.Data.DataFunctions
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(8, 0)]
[ImmutableAttribute]
public sealed class DataFunctionDefinition : ISerializable

The DataFunctionDefinition type exposes the following members.

Properties

  NameDescription
Public propertyAllowCaching
Gets a value indicating whether caching of the result of the function is allowed or not.
Public propertyCategory
Gets the category of the data function.
Public propertyDescription
Gets the description.
Public propertyDisplayName
Gets the display name.
Public propertyFunctionName
Gets the name of the function.
Public propertyInputParameters
Gets the input parameters.
Public propertyIsApprovedByCurrentUser
Gets a value indicating whether this data function is approved by the current Windows user.
Public propertyLibraryIdentifier
Gets the identifier to the function definition as stored in the library.
Public propertyOutputParameters
Gets the output parameters.
Public propertyServiceType
Gets the type identifier for the provider responsible for executing the function.
Public propertySettings
Gets settings that are specific for the type of function used.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoad
Create a function definition from the library.
Public methodSave
Updates the function definition in the library.
Public methodSaveAs
Saves the function definition as a new item in the library.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodWithApprovalByCurrentUserRevoked
Creates a new DataFunctionDefinition instance that is a copy of this one, but without any approval stamp of the current Windows user. The DataFunctionDefinition instance on which this method is invoked is not modified.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodISerializableGetObjectData
Implements ISerializable.
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference