Share via


View.ReturnsViewMetadata Property

Gets or sets a Boolean property value that specifies whether the view returns metadata.

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

Syntax

'Declaration
Public Property ReturnsViewMetadata As Boolean
public bool ReturnsViewMetadata { get; set; }
public:
property bool ReturnsViewMetadata {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ReturnsViewMetadata ()

/** @property */
public void set_ReturnsViewMetadata (boolean value)
public function get ReturnsViewMetadata () : boolean

public function set ReturnsViewMetadata (value : boolean)

Property Value

A Boolean value that specifies whether the view returns metadata. If True, the view returns metadata. If False (default), the view does not return metadata.

Example

How to: Create, Alter, and Remove a View in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

View Class
View Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views
Creating, Altering, and Removing Views
CREATE VIEW (Transact-SQL)