OPCDA.NET Reference Manual
CreateInstance Method
See Also  Send Feedback
OpcNetBase.Net4 Assembly > OPC.Common Namespace > ComApi Class : CreateInstance Method

clsid
CLSID string of the OPC server to be connected.
host
Object with machine name and server access credentials.

Glossary Item Box

Connect to the OPC server.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateInstance( _
   ByVal clsid As Guid, _
   ByVal host As Host _
) As Object
C# 
public static object CreateInstance( 
   Guid clsid,
   Host host
)

Parameters

clsid
CLSID string of the OPC server to be connected.
host
Object with machine name and server access credentials.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

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