Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves properties for this relationship instance.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function GetProperty(Of T) ( _
property As ModelPropertyClass _
) As T
'Usage
Dim instance As ModelRelationshipInstance
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.
Typparameter
- T
Type of the property value.
Parameter
- property
Typ: Microsoft.SqlServer.Dac.Model.ModelPropertyClass
ModelPropertyClass property to retrieve.
Rückgabewert
Typ: T
Property value.
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| DacModelException | If the supplied property is not supported on this instance. |
| InvalidCastException | If the property type cannot be cast to T. |