다음을 통해 공유


TryGetPropertyValue 메서드 (String, Object)

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

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

구문

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

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

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the property value is successfully retrieved; otherwise, false.