共用方式為


IndexedXmlPathCollection.Add 方法 (IndexedXmlPath, String)

Adds an item to the collection with specified path and column where it will be inserted at.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    indexedXmlPath As IndexedXmlPath, _
    insertAtColumnName As String _
)
'用途
Dim instance As IndexedXmlPathCollection 
Dim indexedXmlPath As IndexedXmlPath 
Dim insertAtColumnName As String

instance.Add(indexedXmlPath, insertAtColumnName)
public void Add(
    IndexedXmlPath indexedXmlPath,
    string insertAtColumnName
)
public:
void Add(
    IndexedXmlPath^ indexedXmlPath, 
    String^ insertAtColumnName
)
member Add : 
        indexedXmlPath:IndexedXmlPath * 
        insertAtColumnName:string -> unit
public function Add(
    indexedXmlPath : IndexedXmlPath, 
    insertAtColumnName : String
)

參數

  • insertAtColumnName
    型別:System.String
    The column where the item will be inserted.

請參閱

參考

IndexedXmlPathCollection 類別

Add 多載

Microsoft.SqlServer.Management.Smo 命名空間