Event.PackageName 属性

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

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public ReadOnly Property PackageName As String 
    Get
用法
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

属性值

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

请参阅

参考

Event 类

Microsoft.SqlServer.Management.XEvent 命名空间