HRESULT ResetNetworkProperties(IltmsServer* server)
{
HRESULT hr;
CComPtr<IltmsNetworkProperties> props;
// retrieve a copy of the current network properties
hr = server->GetNetworkProperties(&props);
if(FAILED(hr))
goto error;
// reset to the default properties
hr = props->Reset();
if(FAILED(hr))
goto error;
// copy the properties to the server
hr = server->SetNetworkProperties(props);
if(FAILED(hr))
goto error;
error:
return hr;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET