Associates a method with a stored procedure or user-defined function in the database.
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False)> _ Public NotInheritable Class FunctionAttribute _ Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false)] public sealed class FunctionAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false)] public ref class FunctionAttribute sealed : public Attribute
[<Sealed>] [<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false)>] type FunctionAttribute = class inherit Attribute end
The FunctionAttribute type exposes the following members.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2