共用方式為


AttributeRelationshipCollection.ContainsName 方法

Indicates whether the collection contains a AttributeRelationship with the specified name

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function ContainsName ( _
    name As String _
) As Boolean
'用途
Dim instance As AttributeRelationshipCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsName(name)
public bool ContainsName(
    string name
)
public:
bool ContainsName(
    String^ name
)
member ContainsName : 
        name:string -> bool
public function ContainsName(
    name : String
) : boolean

參數

傳回值

型別:System.Boolean
true if the identified AttributeRelationship exists in the collection; otherwise, false

請參閱

參考

AttributeRelationshipCollection 類別

Microsoft.AnalysisServices 命名空間