Jump to content

Plugin Development Forum

Recommended Posts

Post question, Code, Errors and source for your plugins. This way we can keep dev discussions seperate from plugin usage.

Share this post

Link to post
Share on other sites

Hi Greg,


I am trying to use isync2 but it is not working for me. could you please suggest me where i am making mistake..


Option Strict On
Imports LabTech.Interfaces
Imports Microsoft.VisualBasic.CompilerServices
Imports System
Imports System.IO

Public Class ISync2

   Implements LabTech.Interfaces.ISync2
   Private m_Host As LabTech.Interfaces.IControlCenter

   Public Sub Initialize(Host As LabTech.Interfaces.IControlCenter) Implements LabTech.Interfaces.ISync2.Initialize
       Me.m_Host = Host
       MsgBox("Plugin Initialize")
   End Sub

   Public Sub Decommision() Implements LabTech.Interfaces.ISync2.Decommision
       m_Host = Nothing
   End Sub

   Public Sub Syncronize() Implements LabTech.Interfaces.ISync2.Syncronize
       MsgBox("Plugin Syncronizing")
   End Sub

   Public ReadOnly Property Name() As String Implements LabTech.Interfaces.ISync2.Name
           Return "Reboot Schedule ISync2"
       End Get
   End Property

End Class

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now