ServerPropertyCollection.Contains 方法 (ServerProperty)

Indicates whether the collection contains a specified ServerProperty.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Contains ( _
    item As ServerProperty _
) As Boolean
用法
Dim instance As ServerPropertyCollection 
Dim item As ServerProperty 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    ServerProperty item
)
public:
bool Contains(
    ServerProperty^ item
)
member Contains : 
        item:ServerProperty -> bool
public function Contains(
    item : ServerProperty
) : boolean

参数

返回值

类型:System.Boolean
true if the ServerProperty exists in the collection; otherwise, false.

请参阅

参考

ServerPropertyCollection 类

Contains 重载

Microsoft.AnalysisServices 命名空间