Share via


SqlServerType.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
Private ReadOnly Property RequestedPropertySize As Size
    Implements IServerType.RequestedPropertySize
    Get
'Usage
Dim instance As SqlServerType
Dim value As Size

value = CType(instance, IServerType).RequestedPropertySize
Size IServerType.RequestedPropertySize { get; }
private:
virtual property Size RequestedPropertySize {
    Size get () sealed = IServerType::RequestedPropertySize::get;
}
private abstract RequestedPropertySize : Size
private override RequestedPropertySize : Size
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Drawing.Size
A size that represents the custom user control needs to render correctly.

Implements

IServerType.RequestedPropertySize