TSqlObject.GetProperty Method

Definition

Overloads

GetProperty(ModelPropertyClass)

Returns the property value.

GetProperty<T>(ModelPropertyClass)

Returns the property value.

GetProperty(ModelPropertyClass)

Returns the property value.

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

Property.

Returns

Property Value.

Exceptions

If property does not exists on the object.

Applies to

GetProperty<T>(ModelPropertyClass)

Returns the property value.

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

Property type.

Parameters

property
ModelPropertyClass

Property.

Returns

T

Property Value.

Exceptions

If property does not exists on the object.

If the property type cannot be cast to T.

Applies to