WmiTraceListenerSetting.BindInstance Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Returns the WmiTraceListenerSetting instance corresponding to the provided values for the key properties.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Manageability.TraceListeners
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
<ManagementBindAttribute> _
Public Shared Function BindInstance ( _
ApplicationName As String, _
SectionName As String, _
Name As String _
) As WmiTraceListenerSetting
[ManagementBindAttribute]
public static WmiTraceListenerSetting BindInstance(
string ApplicationName,
string SectionName,
string Name
)
[ManagementBindAttribute]
public:
static WmiTraceListenerSetting^ BindInstance(
String^ ApplicationName,
String^ SectionName,
String^ Name
)
public static function BindInstance(
ApplicationName : String,
SectionName : String,
Name : String
) : WmiTraceListenerSetting
Parameters
- ApplicationName
Type: System.String
The value for the ApplicationName key property.
- SectionName
Type: System.String
The value for the SectionName key property.
- Name
Type: System.String
The value for the Name key property.
Return Value
The published WmiTraceListenerSetting instance specified by the values for the key properties, or nulla null reference (Nothing in Visual Basic) if no such an instance is currently published.
See Also
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Manageability.TraceListeners Namespace