Метод 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.

Параметры

Возвращаемое значение

Тип: T
Property value.

Исключения

Исключение Условие
DacModelException

If the supplied property is not supported on this instance.

InvalidCastException

If the property type cannot be cast to T.

См. также

Справочник

ModelRelationshipInstance Класс

Перегрузка GetProperty

Пространство имен Microsoft.SqlServer.Dac.Model