Indicates the determinism and data access properties of a method or property on a user-defined type (UDT). The properties on the attribute reflect the physical characteristics that are used when the type is registered with SQL Server.
See Also: SqlMethodAttribute Members
For a property, the Microsoft.SqlServer.Server.SqlMethodAttribute should be used on the setter or the getter directly.
Microsoft.SqlServer.Server.SqlMethodAttribute inherits from a Microsoft.SqlServer.Server.SqlFunctionAttribute, so Microsoft.SqlServer.Server.SqlMethodAttribute inherits the FillRowMethodName and TableDefinition fields from Microsoft.SqlServer.Server.SqlFunctionAttribute. Note that it is not possible to write a table-valued method, although the names of these fields might suggest that it is possible.