Data in Automation server workspace
PutWorkspaceData([in] BSTR varname, [in] BSTR workspace,
[in] VARIANT data)
PutWorkspaceData(varname As String, workspace As String,
data As Object)
PutWorkspaceData(h,'varname','
workspace
',data)
PutWorkspaceData(h,'varname','
stores workspace
',data)data
in
the workspace
of the server attached to
handle h
and assigns it to varname
. The
values for workspace
are base
or global
.
Use PutWorkspaceData
to pass numeric and character array data
respectively to the server. Do not use
PutWorkspaceData
on sparse arrays, structures, or function handles.
Use the
Execute
method for these data types.
The GetWorkspaceData
and PutWorkspaceData
functions
pass numeric data as a variant
data type. These
functions are especially useful for VBScript clients as VBScript does
not support the safearray
data type used by GetFullMatrix
and PutFullMatrix
.