Share via


IServerType.RequestedPropertySize Property

Gets the size that the custom user control needs to render correctly. This is used by both the advanced view of the connection dialog box and the New Server Registration dialog box to ensure that they expose enough screen space for the whole control to be visible.

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

'Declaration
ReadOnly Property RequestedPropertySize As Size
    Get
'Usage
Dim instance As IServerType
Dim value As Size

value = instance.RequestedPropertySize
Size RequestedPropertySize { get; }
property Size RequestedPropertySize {
    Size get ();
}
abstract RequestedPropertySize : Size
function get RequestedPropertySize () : Size

Property Value

Type: System.Drawing.Size
The size of the custom user control.