ISfcPropertySet.TryGetProperty メソッド

プロパティのメタデータの取得を試行します。 このメンバーをコード内で直接参照しないでください。このメンバーは、SQL Server インフラストラクチャをサポートしています。

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

構文

'宣言
Function TryGetProperty ( _
    name As String, _
    <OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'使用
Dim instance As ISfcPropertySet 
Dim name As String 
Dim property As ISfcProperty 
Dim returnValue As Boolean 

returnValue = instance.TryGetProperty(name, _
    property)
bool TryGetProperty(
    string name,
    out ISfcProperty property
)
bool TryGetProperty(
    String^ name, 
    [OutAttribute] ISfcProperty^% property
)
abstract TryGetProperty : 
        name:string * 
        property:ISfcProperty byref -> bool
function TryGetProperty(
    name : String, 
    property : ISfcProperty
) : boolean

パラメーター

戻り値

型: System.Boolean
プロパティのメタデータが正常に取得された場合は true、それ以外の場合は false です。

関連項目

参照

ISfcPropertySet インターフェイス

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間