RasConnection Members

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasConnection type exposes the following members.

Methods

  Name Description
Public method ClearConnectionStatistics
Clears any accumulated statistics for the connection.
Public method ClearLinkStatistics
Clears any accumulated statistics for the link in a multilink connection.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Static member GetActiveConnectionByHandle Obsolete.
Retrieves an active connection by the handle.
Public method Static member GetActiveConnectionById Obsolete.
Retrieves an active connection by the entry id.
Public method Static member GetActiveConnectionByName(String, String) Obsolete.
Retrieves an active connection by the entry name and phone book path.
Public method Static member GetActiveConnectionByName(String, String, StringComparison) Obsolete.
Retrieves an active connection by the entry name and phone book path.
Public method Static member GetActiveConnections
Retrieves a read-only list of active connections.
Public method GetConnectionStatistics
Retrieves accumulated statistics for the connection.
Public method GetConnectionStatus
Retrieves the connection status.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetLinkStatistics
Retrieves accumulated statistics for the link in a multilink connection.
Public method GetNapStatus
Retrieves the network access protection (NAP) status for a remote access connection.
Public method GetProjectionInfo
Retrieves information about a remote access projection operation.
Public method GetSubEntryHandle
Retrieves a connection handle for a subentry of a multilink connection.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method HangUp()()()()
Terminates the remote access connection.
Public method HangUp(Boolean)
Terminates the remote access connection.
Public method HangUp(Int32)
Terminates the remote access connection.
Public method HangUp(Int32, Boolean)
Terminates the remote access connection.
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method UpdateConnection
Updates the tunnel endpoints of an Internet Key Exchange (IKEv2) connection.

Properties

  Name Description
Public property ConnectionOptions
Gets the connection options.
Public property CorrelationId
Gets the correlation id.
Public property Device
Gets the device through which the connection has been established.
Public property EntryId
Gets the Guid that represents the phone book entry.
Public property EntryName
Gets the name of the phone book entry used to establish the remote access connection.
Public property Handle
Gets the handle of the connection.
Public property PhoneBookPath
Gets the full path and filename to the phone book (PBK) containing the entry for this connection.
Public property SessionId
Gets the logon session id in which the connection was established.
Public property SubEntryId
Gets the one-based subentry index of the connected link in a multilink connection.

See Also