Compartir a través de


XmlSchemaCollection.AddSchemaDocument Método

Adds an XML schema document to the XML schema collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub AddSchemaDocument ( _
    xmlSchemaDocument As String _
)
'Uso
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
)

Parámetros

Ejemplos

Utilizar esquemas XML

Vea también

Referencia

XmlSchemaCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Utilizar esquemas XML

Colecciones de esquemas XML (SQL Server)

CREATE SCHEMA (Transact-SQL)