Hi,
How do you set an attribue on a return value ??
I need to return nvarchar(max) on my CLR function, but cannot remember how
to write 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
|