XmlSchemaCollection.AddSchemaDocument Method

Adds an XML schema document to the XML schema collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub AddSchemaDocument ( _
    xmlSchemaDocument As String _
)
'Usage
Dim instance As XmlSchemaCollection
Dim xmlSchemaDocument As String

instance.AddSchemaDocument(xmlSchemaDocument)
public void AddSchemaDocument(
    string xmlSchemaDocument
)
public:
void AddSchemaDocument(
    String^ xmlSchemaDocument
)
member AddSchemaDocument : 
        xmlSchemaDocument:string -> unit 
public function AddSchemaDocument(
    xmlSchemaDocument : String
)

Parameters