共用方式為


Action.PackageName 屬性

Gets the name of the Package object that owns this action.

命名空間:  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 Action 
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
An Package object that contains the name.

請參閱

參考

Action 類別

Microsoft.SqlServer.Management.XEvent 命名空間