Bagikan melalui


IndexedXmlPathCollection.Add Method (IndexedXmlPath, String)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    indexedXmlPath As IndexedXmlPath, _
    insertAtColumnName As String _
)
'Usage
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
)

Parameters

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

See Also

Reference

IndexedXmlPathCollection Class

Add Overload

Microsoft.SqlServer.Management.Smo Namespace