共用方式為


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
)

參數