다음을 통해 공유


TryGetPropertyValue(T) 메서드 (String, T)

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Public Function TryGetPropertyValue(Of T) ( _
    propertyName As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
‘사용 방법
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim value As T
Dim returnValue As Boolean

returnValue = instance.TryGetPropertyValue(propertyName, _
    value)
public bool TryGetPropertyValue<T>(
    string propertyName,
    out T value
)
public:
generic<typename T>
virtual bool TryGetPropertyValue(
    String^ propertyName, 
    [OutAttribute] T% value
) sealed
abstract TryGetPropertyValue : 
        propertyName:string * 
        value:'T byref -> bool 
override TryGetPropertyValue : 
        propertyName:string * 
        value:'T byref -> bool 
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T

매개 변수

  • value
    유형: T%
    The value of the object in the collection.

반환 값

유형: System. . :: . .Boolean
true if the Property tries to get its property value; otherwise, false.

구현

ISfcPropertySet. . :: . .TryGetPropertyValue< (Of < <' (T> ) > > )(String, T%)