SqlFunctionAttribute::TableDefinition Property
.NET Framework (current version)
A string that represents the table definition of the results, if the method is used as a table-valued function (TVF).
Assembly: System.Data (in System.Data.dll)
This attribute is used only by Microsoft Visual Studio to automatically register the specified method as a TVF. It is not used by SQL Server.
The following example specifies that the user-defined function is referenced using the name sp_tableFunc. The TableDefinition property has the value letter nchar(1).
.NET Framework
Available since 2.0
Available since 2.0
Show: