ModelPropertyClass.GetValue<T>(TSqlObject) Method

Definition

Returns the property value.

public T GetValue<T> (Microsoft.SqlServer.Dac.Model.TSqlObject instance);
member this.GetValue : Microsoft.SqlServer.Dac.Model.TSqlObject -> 'T
Public Function GetValue(Of T) (instance As TSqlObject) As T

Type Parameters

T

Type of the property value.

Parameters

instance
TSqlObject

TSqlObject instance to get the property value from.

Returns

T

Property value.

Exceptions

If the property value cannot be cast to T.

Applies to