Метод TSqlObject.GetProperty<T> (ModelPropertyClass)

Returns the property value.

Пространство имен:  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 TSqlObject 
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
    Property type.

Параметры

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

Тип: T
Property Value.

Исключения

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

If property does not exists on the object.

InvalidCastException

If the property type cannot be cast to T.

См. также

Справочник

TSqlObject Класс

Перегрузка GetProperty

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