ModelPropertyClass.GetValue<T>-Methode
Returns the property value.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function GetValue(Of T) ( _
instance As TSqlObject _
) As T
'Usage
Dim instance As ModelPropertyClass
Dim instance As TSqlObject
Dim returnValue As T
returnValue = instance.GetValue(instance)
public T GetValue<T>(
TSqlObject instance
)
public:
generic<typename T>
T GetValue(
TSqlObject^ instance
)
member GetValue :
instance:TSqlObject -> 'T
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.
Typparameter
- T
Type of the property value.
Parameter
- instance
Typ: Microsoft.SqlServer.Dac.Model.TSqlObject
TSqlObject instance to get the property value from.
Rückgabewert
Typ: T
Property value.
Ausnahmen
Ausnahme | Bedingung |
---|---|
InvalidCastException | If the property value cannot be cast to T. |