Partilhar via


FunctionValue.UserDefinedFunction Property

Gets or sets the UserDefinedFunction object that implements the logic for this argument.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
Public Property UserDefinedFunction As UserDefinedFunction
public UserDefinedFunction UserDefinedFunction { get; set; }
public:
property UserDefinedFunction^ UserDefinedFunction {
    UserDefinedFunction^ get ();
    void set (UserDefinedFunction^ value);
}
/** @property */
public UserDefinedFunction get_UserDefinedFunction ()

/** @property */
public void set_UserDefinedFunction (UserDefinedFunction value)
public function get UserDefinedFunction () : UserDefinedFunction

public function set UserDefinedFunction (value : UserDefinedFunction)

Property Value

A UserDefinedFunction object that specifies the user-defined function for the FunctionValue object.

Remarks

The user-defined function must have a scalar return type. For all SMO types that derive from UserDefinedFunction, the object must exist, meaning that the State property equals Existing.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

FunctionValue Class
FunctionValue Members
Microsoft.SqlServer.NotificationServices.Rules Namespace

Other Resources

Using Stored Procedures (MDX)