다음을 통해 공유


ConnectionManagerBase.SmsTraceSource Property

Gets or sets the Configuration Manager trace source.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim value As TraceSource

value = ConnectionManagerBase.SmsTraceSource

ConnectionManagerBase.SmsTraceSource = value

Syntax

'Declaration
Public Shared Property SmsTraceSource As TraceSource
public static TraceSource SmsTraceSource { get; set; }
public:
static property TraceSource^ SmsTraceSource {
    TraceSource^ get ();
    void set (TraceSource^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public static TraceSource get_SmsTraceSource ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public static void set_SmsTraceSource (TraceSource value)
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

Reference

ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace