System.Data Namespace DataSet Class
Returns the XSD schema for the XML representation of the data stored in the DataSet.
[ VB ]
Public Function GetXmlSchema ( ) As String
[ C# ]
public String GetXmlSchema ( );
[ C++ ]
public: String* GetXmlSchema ( );
[ JScript ]
public function GetXmlSchema ( ) : String;
String that is the XSD schema for the XML representation of the data stored in the DataSet.
Calling this method is identical to calling WriteXmlSchema, except that only the primary schema is written.
NOTE: GetXmlSchema returns XML as a string, and therefore, requires more overhead than using WriteXmlSchema to write XML to a file.
DataSet Members