다음을 통해 공유


TryGetPropertyValue 메서드 (String, Object)

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

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

구문

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

returnValue = instance.TryGetPropertyValue(propertyName, _
    value)
public bool TryGetPropertyValue(
    string propertyName,
    out Object value
)
public:
virtual bool TryGetPropertyValue(
    String^ propertyName, 
    [OutAttribute] Object^% value
) sealed
abstract TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool 
override TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool 
public final function TryGetPropertyValue(
    propertyName : String, 
    value : Object
) : boolean

매개 변수

반환 값

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

구현

ISfcPropertySet. . :: . .TryGetPropertyValue(String, Object%)