Connect Method

Description

Makes a connection to a client.

Syntax
object.Connect Machine User Password

ParameterDescription
Machine The machine name for the connection.
User The user name for the connection.
Password The password for the connection.

Return Value

Returns an ActiveX HRESULT error code.

Remarks

All the parameters of this method are optional.

The User parameter can include a domain name. For example, passing Network1\User1 specifies Network1 as the domain and User1 as the user name.

The event proxy does not support Domain and User, so the user must be logged on as someone who has access to the server for the User and Password parameters to be valid.

See Also

User, Domain

Return to Channel Manager Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.