ModelPropertyClass.GetValue<T>(TSqlObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.