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
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
ReadOnly Property Name As String
    Get
'Usage
Dim instance As IViewOptions
Dim value As String

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

Property Value

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