CanEasy COM-Help
CanEasy::IServiceGroupCol Interface Reference
Inheritance diagram for CanEasy::IServiceGroupCol:
CanEasy::ICol

Detailed Description

Collection of service groups

interface IServiceGroupCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IServiceGroup**);
HRESULT AddServiceGroup([in] BSTR sName, [in] long sid, [out, retval] IServiceGroup**);
};

Definition at line 9871 of file cand_tlb.idl.

Member Function Documentation

◆ AddServiceGroup()

HRESULT CanEasy::IServiceGroupCol::AddServiceGroup ( [in] BSTR  sName,
[in] long  sid,
[out, retval] IServiceGroup **   
)

Adds a new service group

Parameters
sNameName of the service group
sidService-ID used to create services in this group
Returns
Pointer to new created service group

Property Documentation

◆ Item

IServiceGroup CanEasy::IServiceGroupCol::Item([in] VARIANT vIndex)
get

Returns item by name or by index (starting from 1)

CanEasy::IServiceGroupCol::Item
IServiceGroup Item([in] VARIANT vIndex)
CanEasy::IServiceGroupCol::AddServiceGroup
HRESULT AddServiceGroup([in] BSTR sName, [in] long sid, [out, retval] IServiceGroup **)