TSqlObject.GetMetadata Method (ModelMetadataClass)
Returns the metadata property value.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function GetMetadata ( _
metadata As ModelMetadataClass _
) As Object
'Usage
Dim instance As TSqlObject
Dim metadata As ModelMetadataClass
Dim returnValue As Object
returnValue = instance.GetMetadata(metadata)
public Object GetMetadata(
ModelMetadataClass metadata
)
public:
Object^ GetMetadata(
ModelMetadataClass^ metadata
)
member GetMetadata :
metadata:ModelMetadataClass -> Object
public function GetMetadata(
metadata : ModelMetadataClass
) : Object
Parameters
- metadata
Type: Microsoft.SqlServer.Dac.Model.ModelMetadataClass
Metadata property name.
Return Value
Type: System.Object
Metadata property value.
Exceptions
Exception | Condition |
---|---|
DacModelException | If metadata does not exists on the object. |