Dela via


Event.PackageName Property

Gets the name of the Package object that owns the event.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property PackageName As String 
    Get
'Usage
Dim instance As Event 
Dim value As String 

value = instance.PackageName
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string PackageName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ PackageName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member PackageName : string
function get PackageName () : String

Property Value

Type: System.String
A String value that specifies the name of the Package object that owns the event.

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace