Share via


Action.Name Property

Gets or sets the name of the Action object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Required Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public Property Name As String 
    Get 
    Set
'Usage
Dim instance As Action 
Dim value As String 

value = instance.Name

instance.Name = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public string Name { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Required|SfcPropertyFlags::ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<SfcKeyAttribute()>]
member Name : string with get, set
function get Name () : String 
function set Name (value : String)

Property Value

Type: System.String
An Action object that contains the name.

See Also

Reference

Action Class

Microsoft.SqlServer.Management.XEvent Namespace