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.