共用方式為


PredSourceInfo.TypeName 屬性

Gets or the name of the type of a PredSourceInfo object.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcPropertyAttribute(Data := True)> _
Public ReadOnly Property TypeName As String 
    Get
'用途
Dim instance As PredSourceInfo 
Dim value As String 

value = instance.TypeName
[SfcPropertyAttribute(Data = true)]
public string TypeName { get; }
[SfcPropertyAttribute(Data = true)]
public:
property String^ TypeName {
    String^ get ();
}
[<SfcPropertyAttribute(Data = true)>]
member TypeName : string
function get TypeName () : String

屬性值

型別:System.String
A string value that contains the name of the type.

請參閱

參考

PredSourceInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間