Share via


TSqlObject.GetProperty Method (ModelPropertyClass)

Returns the property value.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public Function GetProperty ( _
    property As ModelPropertyClass _
) As Object
'Usage
Dim instance As TSqlObject 
Dim property As ModelPropertyClass 
Dim returnValue As Object 

returnValue = instance.GetProperty(property)
public Object GetProperty(
    ModelPropertyClass property
)
public:
Object^ GetProperty(
    ModelPropertyClass^ property
)
member GetProperty : 
        property:ModelPropertyClass -> Object
public function GetProperty(
    property : ModelPropertyClass
) : Object

Parameters

Return Value

Type: System.Object
Property Value.

Exceptions

Exception Condition
DacModelException

If property does not exists on the object.

See Also

Reference

TSqlObject Class

GetProperty Overload

Microsoft.SqlServer.Dac.Model Namespace