Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Retrieves properties for this relationship instance.
Spazio dei nomi Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Sintassi
'Dichiarazione
Public Function GetProperty(Of T) ( _
property As ModelPropertyClass _
) As T
'Utilizzo
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 non supporta i metodi e i tipi generici.
Parametri di tipo
- T
Type of the property value.
Parametri
- property
Tipo: Microsoft.SqlServer.Dac.Model.ModelPropertyClass
ModelPropertyClass property to retrieve.
Valore restituito
Tipo: T
Property value.
Eccezioni
| Eccezione | Condizione |
|---|---|
| DacModelException | If the supplied property is not supported on this instance. |
| InvalidCastException | If the property type cannot be cast to T. |