Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 does not support generic types and methods.
Type Parameters
- T
Type of the property value.
Parameters
- instance
Type: Microsoft.SqlServer.Dac.Model.TSqlObject
TSqlObject instance to get the property value from.
Return Value
Type: T
Property value.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | If the property value cannot be cast to T. |