PRB: Undocumented Filter Syntax for IReposQuery::GetCollection Method (297211)
The information in this article applies to:
- Microsoft Visual Studio, Enterprise Edition 6.0
- Microsoft Visual Studio, Professional Edition 6.0
- Microsoft SQL Server 2000 Enterprise Edition
This article was previously published under Q297211 SYMPTOMS
The GetCollection method of the IReposQuery interface in SQL Server 2000 Metadata Services programming accepts a filter string to limit the collection that is returned. This filter string also accepts a special Implements() or InstanceOf() clause. These two clauses require a particular syntax that is not clearly documented in the Metadata Services 3.0 Software Development Kit (SDK) reference.
RESOLUTION
To resolve this problem, when you use either the Implements( interface) or the InstanceOf( class) clause, insert a space between the keyword ( Implements or InstanceOf) and the opening left parenthesis. For example, insert a space after Implements as follows:
Implements ([FileSystem._FolderDef])
Or, insert a space after InstanceOf as follows:
InstanceOf ([FileSystem.FolderDef])
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | kbprb KB297211 |
---|
|