/*Dans c++ cli, projet de dll => maStructAsm.dll*/ public ref class maStruct /*ou au choix => value struct maStruct*/ { __int32 a; __int32 b; float c; char d[50]; };
/*Dans sqlServer*/ CREATE ASSEMBLY maStructAsm FROM '\\MyComputer\MesAssemblies\maStructAsm.dll' ; GO CREATE TYPE maStruct EXTERNAL NAME maStructAsm.maStruct; GO