Partager via


FunctionValue.UserDefinedFunction Property

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

Espace de noms: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

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

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Utilisation de procédures stockées (MDX)