次の方法で共有


ServerPropertyCollection.Contains メソッド (String)

指定した名前を持つ ServerProperty がコレクションに含まれているかどうかを示します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Function Contains ( _
    name As String _
) As Boolean
'使用
Dim instance As ServerPropertyCollection 
Dim name As String 
Dim returnValue As Boolean 

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

パラメーター

戻り値

型: System.Boolean
ServerProperty がコレクションに存在する場合は true、存在しない場合は false です。

関連項目

参照

ServerPropertyCollection クラス

Contains オーバーロード

Microsoft.AnalysisServices 名前空間