Condividi tramite


TSqlObject.GetMetadata Method

Definition

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

T

Metadata property value.

Exceptions

If metadata does not exists on the object.

If the metadata property type cannot be cast to T.

Applies to