ModelRelationshipInstance.GetProperty<T> 메서드 (ModelPropertyClass)
Retrieves properties for this relationship instance.
네임스페이스: Microsoft.SqlServer.Dac.Model
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public Function GetProperty(Of T) ( _
property As ModelPropertyClass _
) As T
‘사용 방법
Dim instance As ModelRelationshipInstance
Dim property As ModelPropertyClass
Dim returnValue As T
returnValue = instance.GetProperty(property)
public T GetProperty<T>(
ModelPropertyClass property
)
public:
generic<typename T>
T GetProperty(
ModelPropertyClass^ property
)
member GetProperty :
property:ModelPropertyClass -> 'T
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
Type of the property value.
매개 변수
- property
유형: Microsoft.SqlServer.Dac.Model.ModelPropertyClass
ModelPropertyClass property to retrieve.
반환 값
유형: T
Property value.
예외
예외 | 조건 |
---|---|
DacModelException | If the supplied property is not supported on this instance. |
InvalidCastException | If the property type cannot be cast to T. |