Microsoft Operations Manager |
The GetCounterStringmethod gets the performance counter string for the specified MTA log type.
[VBScript]
MTALogAnalyzer.GetCounterString(ID Variant)
MTA log type numeric identifier. Valid values include the following:
Variant
The following example shows how to get the performance counter string for SMTP Out Senders.
[VBScript]
Const PI_MTA_SMTP_OUT_SENDER = 1001
Dim objMTALogAnalyzer, strCounterString
Set objMTALogAnalyzer = CreateObject("McExchg.MTALogAnalyzer")
strCounterString =
objMTALogAnalyzer.GetCounterString(PI_MTA_SMTP_OUT_SENDER)
Set objMTALogAnalyzer = Nothing
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.