ISfcPropertySet.TryGetPropertyValue 메서드 (String, T)
Tries to get the property value specified by the name parameter and type specified by the value parameter.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Private Function TryGetPropertyValue(Of T) ( _
name As String, _
<OutAttribute> ByRef value As T _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue
‘사용 방법
Dim instance As PropertyCollection
Dim name As String
Dim value As T
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue(name, _
value)
bool ISfcPropertySet.TryGetPropertyValue<T>(
string name,
out T value
)
private:
generic<typename T>
virtual bool TryGetPropertyValue(
String^ name,
[OutAttribute] T% value
) sealed = ISfcPropertySet::TryGetPropertyValue
private abstract TryGetPropertyValue :
name:string *
value:'T byref -> bool
private override TryGetPropertyValue :
name:string *
value:'T byref -> bool
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
The type of the generic property.
매개 변수
- name
유형: System. . :: . .String
A string that specifies the name of the property.
- value
유형: T%
A pointer to the value to be returned.
반환 값
유형: System. . :: . .Boolean
A Boolean value, True if the collection contains the property value, otherwise False.
구현
ISfcPropertySet. . :: . .TryGetPropertyValue< (Of < <' (T> ) > > )(String, T%)