AddSchemaDocument 方法

Adds an XML schema document to the XML schema collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub AddSchemaDocument ( _
    xmlSchemaDocument As String _
)
用法
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
)

参数