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
参数
- name
类型:System. . :: . .String
Specifies the name of the AttributeRelationship to be returned.
返回值
类型:System. . :: . .Boolean
Returns true if the identified AttributeRelationship exists in the collection; otherwise, false