DotRas SDK Documentation |
RasConnection Members |
RasConnection Class Methods Properties See Also Send Feedback |
The RasConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
ClearConnectionStatistics |
Clears any accumulated statistics for the connection.
|
|
ClearLinkStatistics |
Clears any accumulated statistics for the link in a multilink connection.
|
|
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.) |
|
Equals | (Inherited from Object.) | |
GetActiveConnectionByHandle | Obsolete.
Retrieves an active connection by the handle.
|
|
GetActiveConnectionById | Obsolete.
Retrieves an active connection by the entry id.
|
|
GetActiveConnectionByName(String, String) | Obsolete.
Retrieves an active connection by the entry name and phone book path.
|
|
GetActiveConnectionByName(String, String, StringComparison) | Obsolete.
Retrieves an active connection by the entry name and phone book path.
|
|
GetActiveConnections |
Retrieves a read-only list of active connections.
|
|
GetConnectionStatistics |
Retrieves accumulated statistics for the connection.
|
|
GetConnectionStatus |
Retrieves the connection status.
|
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetLinkStatistics |
Retrieves accumulated statistics for the link in a multilink connection.
|
|
GetNapStatus |
Retrieves the network access protection (NAP) status for a remote access connection.
|
|
GetProjectionInfo |
Retrieves information about a remote access projection operation.
|
|
GetSubEntryHandle |
Retrieves a connection handle for a subentry of a multilink connection.
|
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HangUp()()()() |
Terminates the remote access connection.
|
|
HangUp(Boolean) |
Terminates the remote access connection.
|
|
HangUp(Int32) |
Terminates the remote access connection.
|
|
HangUp(Int32, Boolean) |
Terminates the remote access connection.
|
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UpdateConnection |
Updates the tunnel endpoints of an Internet Key Exchange (IKEv2) connection.
|
Properties
Name | Description | |
---|---|---|
ConnectionOptions |
Gets the connection options.
|
|
CorrelationId |
Gets the correlation id.
|
|
Device |
Gets the device through which the connection has been established.
|
|
EntryId |
Gets the Guid that represents the phone book entry.
|
|
EntryName |
Gets the name of the phone book entry used to establish the remote access connection.
|
|
Handle |
Gets the handle of the connection.
|
|
PhoneBookPath |
Gets the full path and filename to the phone book (PBK) containing the entry for this connection.
|
|
SessionId |
Gets the logon session id in which the connection was established.
|
|
SubEntryId |
Gets the one-based subentry index of the connected link in a multilink connection.
|