PropertyCollection.ISfcPropertySet.TryGetPropertyValue メソッド (String, Object%)

name パラメーターで指定したプロパティ値と、property パラメーターで指定した型の取得を試行します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Private Function TryGetPropertyValue ( _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue
'使用
Dim instance As PropertyCollection 
Dim name As String 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue(name, _
    value)
bool ISfcPropertySet.TryGetPropertyValue(
    string name,
    out Object value
)
private:
virtual bool TryGetPropertyValue(
    String^ name, 
    [OutAttribute] Object^% value
) sealed = ISfcPropertySet::TryGetPropertyValue
private abstract TryGetPropertyValue : 
        name:string * 
        value:Object byref -> bool  
private override TryGetPropertyValue : 
        name:string * 
        value:Object byref -> bool
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • name
    型: System.String
    プロパティの名前を指定する文字列値です。

戻り値

型: System.Boolean
ブール値。指定したプロパティ値がコレクション内に存在する場合は True、それ以外の場合は False です。

実装

ISfcPropertySet.TryGetPropertyValue(String, Object%)

関連項目

参照

PropertyCollection クラス

TryGetPropertyValue オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間