Adds a compound index with the paths which specifies the index segments.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public void AddCompoundIndex( ICollection<string> paths, bool unique )
Public Sub AddCompoundIndex ( _ paths As ICollection(Of String), _ unique As Boolean _ )
public: void AddCompoundIndex( ICollection<String^>^ paths, bool unique )
public void AddCompoundIndex( ICollection<String> paths, boolean unique )
Parameters
- paths (ICollection<(Of <(<'String>)>)>)
- Paths of the index segments.
- unique (Boolean)
- Is it a unique index.