SqlFunctionAttribute::Name Property
.NET Framework (current version)
The name under which the function should be registered in SQL Server.
Assembly: System.Data (in System.Data.dll)
This attribute is used only by Microsoft Visual Studio to automatically register the specified method as a user-defined function. It is not used by SQL Server.
Thee following example specifies that the user-defined function is referenced using the name sp_scalarFunc.
.NET Framework
Available since 2.0
Available since 2.0
Show: