Select from following answers:- Set the UdtTypeName of the parameter to MyCompanyType.
- Set the SqlDbType of the parameter to SqlDbType.Udt.
- In the client application, set a reference to the assembly in which the UDT is defined.
- All Above
SqlDbType must be set to SqlDbType.Udt for you to receive the output parameter.
UdtTypeName must be set to MyCompanyName.
The assembly reference (Sqlserver.Types.ddl) is required if you want to access the UDT as a typed object.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator