IViewOptions.ReturnsViewMetadata Property

Gets the Boolean value that determines whether the metadata is returned with the view data.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("View_ReturnsViewMetadataDesc")> _
<DisplayNameKeyAttribute("View_ReturnsViewMetadataName")> _
ReadOnly Property ReturnsViewMetadata As Boolean
    Get
'Usage
Dim instance As IViewOptions
Dim value As Boolean

value = instance.ReturnsViewMetadata
[DisplayDescriptionKeyAttribute("View_ReturnsViewMetadataDesc")]
[DisplayNameKeyAttribute("View_ReturnsViewMetadataName")]
bool ReturnsViewMetadata { get; }
[DisplayDescriptionKeyAttribute(L"View_ReturnsViewMetadataDesc")]
[DisplayNameKeyAttribute(L"View_ReturnsViewMetadataName")]
property bool ReturnsViewMetadata {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("View_ReturnsViewMetadataDesc")>]
[<DisplayNameKeyAttribute("View_ReturnsViewMetadataName")>]
abstract ReturnsViewMetadata : bool
function get ReturnsViewMetadata () : boolean

Property Value

Type: System.Boolean
A Boolean value that determines whether the metadata is returned with the view data.
If True, the metadata is returned with the view data. Otherwise, False.