INamedComponentCollection.ContainsName 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Indicates whether the collection contains a AttributeRelationship with the specified name.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Function ContainsName ( _
name As String _
) As Boolean
'用途
Dim instance As INamedComponentCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.ContainsName(name)
bool ContainsName(
string name
)
bool ContainsName(
String^ name
)
abstract ContainsName :
name:string -> bool
function ContainsName(
name : String
) : boolean
參數
- name
型別:System.String
The to return.
傳回值
型別:System.Boolean
true if the identified AttributeRelationship exists in the collection; otherwise, false.