共用方式為


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 命名空間