Gets or sets the Configuration Manager trace source. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim value As TraceSource

value = ConnectionManagerBase.SmsTraceSource

ConnectionManagerBase.SmsTraceSource = value

Syntax

Visual Basic
Public Shared Property SmsTraceSource As TraceSource
C#
public static TraceSource SmsTraceSource { get; set; }
C++
public:
static property TraceSource^ SmsTraceSource {
		TraceSource^ get ();
		void set (TraceSource^ value);
}
J#
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public static TraceSource get_SmsTraceSource ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public static void set_SmsTraceSource (TraceSource value)
JScript
DebuggerStepThroughAttribute 
public static function get SmsTraceSource () : TraceSource

DebuggerStepThroughAttribute 
public static function set SmsTraceSource (value : TraceSource)

Property Value

System.Diagnostics.TraceSource object that represents the Configuration Manager trace source.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also