OPCDA.NET Reference Manual
CloneGroup Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup Class : CloneGroup Method

Name
Name of the group. The name must be unique among the other groups created by this client. If no name is provided (szName is a pointer to a NULL string) the server will generate a unique name. The server generated name will also be unique relative to any existing public groups.
riid
requested interface type.
ppUnk
place to return interface pointer. NULL is returned for any HRESULT other than S_OK

Glossary Item Box

Clone a group.
There is rarely a good reason to use this method.

Syntax

Visual Basic (Declaration) 
Public Function CloneGroup( _
   ByVal Name As String, _
   ByRef riid As Guid, _
   ByRef ppUnk As Object _
) As Integer
C# 
public int CloneGroup( 
   string Name,
   ref Guid riid,
   out object ppUnk
)

Parameters

Name
Name of the group. The name must be unique among the other groups created by this client. If no name is provided (szName is a pointer to a NULL string) the server will generate a unique name. The server generated name will also be unique relative to any existing public groups.
riid
requested interface type.
ppUnk
place to return interface pointer. NULL is returned for any HRESULT other than S_OK

Return Value

HRESULT success/error code

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.