UIConnectionInfoUtil.SetPacketSize Method

Definition

Specifies packet size for all elements in the list of the UIConnectionInfo object.

Overloads

SetPacketSize(UIConnectionGroupInfo, Int32)

Specifies packet size for all elements in the list of the UIConnectionInfo object with the specified size parameter.

SetPacketSize(UIConnectionInfo, Int32)

Specifies packet size for SQL connection info encapsulated by the UIConnectionInfo object.

SetPacketSize(UIConnectionGroupInfo, Int32)

Specifies packet size for all elements in the list of the UIConnectionInfo object with the specified size parameter.

public:
 static void SetPacketSize(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, int packetSize);
public static void SetPacketSize (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, int packetSize);
static member SetPacketSize : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * int -> unit
Public Shared Sub SetPacketSize (connectionInfoList As UIConnectionGroupInfo, packetSize As Integer)

Parameters

connectionInfoList
UIConnectionGroupInfo

The list of the connection information.

packetSize
Int32

An integer that represents the TCP packet size in bytes.

Applies to

SetPacketSize(UIConnectionInfo, Int32)

Specifies packet size for SQL connection info encapsulated by the UIConnectionInfo object.

public:
 static void SetPacketSize(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, int packetSize);
public static void SetPacketSize (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, int packetSize);
static member SetPacketSize : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * int -> unit
Public Shared Sub SetPacketSize (ci As UIConnectionInfo, packetSize As Integer)

Parameters

ci
UIConnectionInfo

The information of the connection.

packetSize
Int32

An integer that represents the TCP packet size in bytes.

Applies to