Share via


Server.EnumActiveGlobalTraceFlags Method

Gets a DataTable that contains active global trace flags.

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

Syntax

'Declaration
Public Function EnumActiveGlobalTraceFlags As DataTable
'Usage
Dim instance As Server
Dim returnValue As DataTable

returnValue = instance.EnumActiveGlobalTraceFlags()
public DataTable EnumActiveGlobalTraceFlags()
public:
DataTable^ EnumActiveGlobalTraceFlags()
member EnumActiveGlobalTraceFlags : unit -> DataTable 
public function EnumActiveGlobalTraceFlags() : DataTable

Return Value

Type: System.Data.DataTable
DataTable