TSqlObject.GetMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetMetadata(ModelMetadataClass) |
Returns the metadata property value. |
GetMetadata<T>(ModelMetadataClass) |
Returns the metadata property value. |
GetMetadata(ModelMetadataClass)
Returns the metadata property value.
public object GetMetadata (Microsoft.SqlServer.Dac.Model.ModelMetadataClass metadata);
member this.GetMetadata : Microsoft.SqlServer.Dac.Model.ModelMetadataClass -> obj
Public Function GetMetadata (metadata As ModelMetadataClass) As Object
Parameters
- metadata
- ModelMetadataClass
Metadata property name.
Returns
Metadata property value.
Exceptions
If metadata
does not exists on the object.
Applies to
GetMetadata<T>(ModelMetadataClass)
Returns the metadata property value.
public T GetMetadata<T> (Microsoft.SqlServer.Dac.Model.ModelMetadataClass metadata);
member this.GetMetadata : Microsoft.SqlServer.Dac.Model.ModelMetadataClass -> 'T
Public Function GetMetadata(Of T) (metadata As ModelMetadataClass) As T
Type Parameters
- T
Metadata property type.
Parameters
- metadata
- ModelMetadataClass
Metadata property name.
Returns
Metadata property value.
Exceptions
If metadata
does not exists on the object.
If the metadata property type cannot be cast to T.