Aracılığıyla paylaş


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

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ReturnsViewMetadata As Boolean
    Get
    Set
'Kullanım
Dim instance As View
Dim value As Boolean

value = instance.ReturnsViewMetadata

instance.ReturnsViewMetadata = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool ReturnsViewMetadata { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool ReturnsViewMetadata {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract ReturnsViewMetadata : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override ReturnsViewMetadata : bool with get, set
final function get ReturnsViewMetadata () : boolean
final function set ReturnsViewMetadata (value : 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

Creating, Altering, and Removing Views

See Also

Reference

View Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views

CREATE VIEW (Transact-SQL)