Contains the results of a Compression Control Protocol (CCP) projection operation. This class cannot be inherited.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
[SerializableAttribute]
public sealed class RasCcpInfo
|
Visual Basic |
<SerializableAttribute>
Public NotInheritable Class RasCcpInfo
|
Visual C++ |
[SerializableAttribute]
public ref class RasCcpInfo sealed
|
F# |
[<SealedAttribute>]
[<SerializableAttribute>]
type RasCcpInfo = class end
|
Remarks
Examples
This example shows how to perform an CCP projection operation on an active connection.
C# | Copy |
---|
RasConnection connection = RasConnection.GetActiveConnectionByName("My Connection", @"C:\Test.pbk");
if (connection != null)
{
RasCcpInfo info = (RasCcpInfo)connection.GetProjectionInfo(RasProjectionType.Ccp);
if (info != null)
{
}
} |
Visual Basic | Copy |
---|
Dim connection As RasConnection = RasConnection.GetActiveConnectionByName("My Connection", "C:\Test.pbk")
If connection IsNot Nothing Then
Dim info As RasCcpInfo = CType(connection.GetProjectionInfo(RasProjectionType.Ccp), RasCcpInfo)
If info IsNot Nothing Then
End If
End If |
Inheritance Hierarchy
See Also