Bagikan melalui


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
A DataTable that contains active global trace flags.

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace