uaPLUS Reference
GetServerRegistryDef Method
See Also  Send Feedback
HDAPlugin Namespace > AppPlugin Class : GetServerRegistryDef Method

Glossary Item Box

This method is called from the generic server at startup for normal operation or for registration. It provides server registry information for this application required for DCOM registration.
Each server needs to have unique registration definions. Unique CLSIDs can be generated with the Visual Studio GuidGen utility.

The sample implementation initializes default values and tries to read the configuration definitions from the file HDANSrv.exe.config. The config file reads can be deleted to prevent the definition from being changed without a recompilation.

Syntax

Visual Basic (Declaration) 
Public Function GetServerRegistryDef() As SrvRegDef
C# 
public SrvRegDef GetServerRegistryDef()

Return Value

Definition structure

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.