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.