template <class TString>
void CR2XML<T>::GetSchema(TString& strSchema, LPCTSTR strNameAttr=NULL);

Parameters

        [out] strSchema:

                A string by reference to receive the XML string data of the schema of a rowset or OLAP dataset. The template TString could be CString, _bstr_t, CComBSTR, AnsiString, WideString and any other string classes which can handle char/wchar_t conversion properly.

        [in] strNameAttr:

                A string inserted in the XML schema string. See the example R2XML.

Remark

        Calls this function to retrieve a XML schema string which is written with reference to MS SQL server 2000. If not fit to your needs, you could write your own ones. For how to use the function, see the example R2XML.

CR2XML Class Overview & Class Members