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
- xmlSchemaDocument
Type: System.String
A String value that specifies the XML schema document that is to be added to the XmlSchemaCollection object.