View.ReturnsViewMetadata Property
Applies To: SQL Server 2016 Preview
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
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)]
public bool ReturnsViewMetadata { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Design | SfcPropertyFlags::Matrix)]
property bool ReturnsViewMetadata {
virtual bool get() sealed;
virtual void set(bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)>]
abstract ReturnsViewMetadata : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)>]
override ReturnsViewMetadata : bool with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Matrix)>
Public Property ReturnsViewMetadata As Boolean
Property Value
Type: System.Boolean
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.
Implements
IViewOptions.ReturnsViewMetadata
Examples
Legacy Code Example
Creating, Altering, and Removing Views
See Also
View Class
Microsoft.SqlServer.Management.Smo Namespace
CREATE VIEW (Transact-SQL)
Unable to find linked topic 'aa8dfc2b-1263-4054-bbe8-33ce89440a5d'.
Return to top