共用方式為


NamedComponentCollection.ContainsName 方法

Indicates whether the component contains its name.

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

語法

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

returnValue = instance.ContainsName(name)
public bool ContainsName(
    string name
)
public:
virtual bool ContainsName(
    String^ name
) sealed
abstract ContainsName : 
        name:string -> bool  
override ContainsName : 
        name:string -> bool
public final function ContainsName(
    name : String
) : boolean

參數

傳回值

型別:System.Boolean
true if the component contains its name; otherwise, false.

實作

INamedComponentCollection.ContainsName(String)

請參閱

參考

NamedComponentCollection 類別

Microsoft.AnalysisServices 命名空間