PropertyCollection.ISfcPropertySet.TryGetPropertyValue 메서드 (String, Object%)

Tries to get the property value specified by the name parameter and type specified by the property parameter.

네임스페이스:  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
    A string value that specifies the name of the property.

반환 값

유형: System.Boolean
A Boolean value, True if the collection contains the property value, otherwise False.

구현

ISfcPropertySet.TryGetPropertyValue(String, Object%)

참고 항목

참조

PropertyCollection 클래스

TryGetPropertyValue 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스