SqlXml.CreateReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
System::Xml::XmlReader ^ CreateReader();
public System.Xml.XmlReader CreateReader ();
member this.CreateReader : unit -> System.Xml.XmlReader
Public Function CreateReader () As XmlReader
Returns
A XmlReader-derived instance that contains the XML content. The actual type may vary (for example, the return value might be XmlTextReader) depending on how the information is represented internally, on the server.
Exceptions
Attempt was made to access this property on a null instance of SqlXml.
Remarks
If the SqlXml instance was initialized to null (Nothing
in Visual Basic), this method returns null.