Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMSServerLimits::put_DiagnosticEvents
The put_DiagnosticEvents method sets the maximum number of IWMSDiagnosticEvent objects that a specific IWMSDiagnosticEvents collection can contain.
Syntax
HRESULT put_DiagnosticEvents( long lVal );
Parameters
pVal
[in] long containing the maximum number of IWMSDiagnosticEvent objects.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Number | Description |
| E_INVALIDARG | 0x80070057 | Indicates that lVal is an invalid argument. |
Remarks
The default number of objects that this collection can contain is 200. Valid values are 100 to 2000.
Example Code
Requirements
Header: wmsserver.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also
| Previous | Next |