Share via


ModelRelationshipInstance.GetProperty Method

Definition

Overloads

GetProperty(ModelPropertyClass)

Retrieves properties for this relationship instance.

GetProperty<T>(ModelPropertyClass)

Retrieves properties for this relationship instance.

GetProperty(ModelPropertyClass)

Retrieves properties for this relationship instance.

public object GetProperty (Microsoft.SqlServer.Dac.Model.ModelPropertyClass property);
member this.GetProperty : Microsoft.SqlServer.Dac.Model.ModelPropertyClass -> obj
Public Function GetProperty (property As ModelPropertyClass) As Object

Parameters

property
ModelPropertyClass

ModelPropertyClass property to retrieve.

Returns

Property value.

Exceptions

If the supplied property is not supported on this instance.

Applies to

GetProperty<T>(ModelPropertyClass)

Retrieves properties for this relationship instance.

public T GetProperty<T> (Microsoft.SqlServer.Dac.Model.ModelPropertyClass property);
member this.GetProperty : Microsoft.SqlServer.Dac.Model.ModelPropertyClass -> 'T
Public Function GetProperty(Of T) (property As ModelPropertyClass) As T

Type Parameters

T

Type of the property value.

Parameters

property
ModelPropertyClass

ModelPropertyClass property to retrieve.

Returns

T

Property value.

Exceptions

If the supplied property is not supported on this instance.

If the property type cannot be cast to T.

Applies to