Visavi Visual OPC .NET  

OpcConnection Members

OpcConnection overview

Public Constructors

public constructorOpcConnection Constructor Overloaded. Initializes a new instance of the  OpcConnection class.

Public Properties

public propertyConnected Gets or Sets the connection to be connected or disconnected.
public propertyConnectionScheme Gets or Sets the connection scheme to be used to connect to the OPC Server.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyGroups Gets the IOpcGroupCollection that contains the IOpcGroup objects for this connection.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyServerIdentifier Gets or sets a ResourceIdentifier of the identifier for the OPC server.
public propertyServerName Gets a friendly name for the OPC Server that may be used for display purposes.
public propertyServerStatus Gets an IOpcServerStatus object indicating the current status of the OPC Server.

Public Methods

public propertyBrowse Gets an array of IOpcBrowseElement objects that represent the child nodes of an item. 
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public propertyGetProperties Gets IOpcItemProperty objects representing the OPC properties for requested Item IDs.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventGroupAdded Occurs when a group is added to the Groups collection.
public eventGroupRemoved Occurs when a group is removed from the Groups collection.
public eventItemDefinitionChange Occurs when one of the definition of one of the IOpcItems contained by one IOpcGroup objects in the Groups property changes.
public eventItemRuntimeChange Occurs when one of the runtime information of one of the IOpcItems contained by one IOpcGroup objects in the Groups property changes.
public eventWriteComplete Occurs when an asynchronous write operation has completed.
public eventWriteTimeout Occurs when an asynchronous write operation has timed-out.

Protected Properties

protected propertyDesignMode Overridden. Gets a value that indicates whether the OpcConnection is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodDispose Overloaded. Overridden. See Component.Dispose.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected method OnGroupAdded Raises the GroupAdded event.
protected method OnGroupRemoved Raises the GroupRemoved event.
protected method OnItemDefinitionChange Raises the ItemDefinitionChange event.
protected method OnItemRuntimeChange Raises the ItemRuntimeChange event.
protected method OnWriteComplete Raises the WriteComplete event.
protected method OnWriteTimeout Raises the WriteTimeout event.

See Also

OpcConnection Class Visavi.Opc.Client Namespace