for (i=0; i<n; i++) properties[i] = new NAME32();
dout = new TDataType(properties);
if (property != null) din = new TDataType(property); else din = null;
properties_have_query_function = false;
tl = new TLink(tgt,"STOCKPROPS",dout,din,TAccess.CA_READ);
cc = tl.execute(TLink.defaultTimeout,true);
if ((cc & TErrorList.CE_SENDDATA) == TErrorList.CE_SENDDATA)
{
if ((cc & TErrorList.has_query_function) == TErrorList.has_query_function)
{
properties_have_query_function = true;