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
- indexedXmlPath
Type: Microsoft.SqlServer.Management.Smo.IndexedXmlPath
The path of the object to be added to the collection.
- insertAtColumnName
Type: System.String
The column where the item will be inserted.