INamedComponentCollection.Contains 方法 (String)
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Indicates whether the collection contains the AttributeRelationship, identified by attributeId.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Function Contains ( _
id As String _
) As Boolean
用法
Dim instance As INamedComponentCollection
Dim id As String
Dim returnValue As Boolean
returnValue = instance.Contains(id)
bool Contains(
string id
)
bool Contains(
String^ id
)
abstract Contains :
id:string -> bool
function Contains(
id : String
) : boolean
参数
- id
类型:System.String
The identifier.
返回值
类型:System.Boolean
true if the identified AttributeRelationship exists in the collection; otherwise, false.