Hi,
How do you set an attribue on a return value ??
In Microsoft.SqlServer.Server you got SqlFacetAttribute wich I need to use
on my CLR function that should return a SqlString(MAX) - the
SqlFacetAttribute must be set on the static methods return value to do this.
[SqlFunction(Name= "....")]
public static SqlString MyClrFunction(
[SqlFacet(MaxSize = -1)] SqlString ID,
[SqlFacet(MaxSize = -1)] SqlString Name,
)
{
return new SqlString("Some data"};
}
Where do I put the SqlFacetAttribute on my return value ??
In advance, thanx
Soren