Share via


IViewOptions.Name Property

Gets or sets the name of the view.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
ReadOnly Property Name As String 
    Get
'Usage
Dim instance As IViewOptions 
Dim value As String 

value = instance.Name
[DisplayNameKeyAttribute("NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")]
string Name { get; }
[DisplayNameKeyAttribute(L"NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute(L"NamedSmoObject_NameDesc")]
property String^ Name {
    String^ get ();
}
[<DisplayNameKeyAttribute("NamedSmoObject_NameName")>]
[<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")>]
abstract Name : string
function get Name () : String

Property Value

Type: System.String
A String value that contains the name of the view.

See Also

Reference

IViewOptions Interface

Microsoft.SqlServer.Management.Smo Namespace