SqlServerType 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SqlServerType 类的新实例。
重载
| SqlServerType() |
使用默认属性值初始化 SqlServerType 类的新实例。 |
| SqlServerType(Decimal) |
使用指定的默认执行超时值初始化 SqlServerType 类的新实例。 |
| SqlServerType(Int32[]) |
使用指定的支持的身份验证类型初始化 SqlServerType 类的新实例。 |
| SqlServerType(Int32[], Decimal) |
使用指定的支持的身份验证类型和默认的执行超时值初始化 SqlServerType 类的新实例。 |
SqlServerType()
使用默认属性值初始化 SqlServerType 类的新实例。
public:
SqlServerType();
public SqlServerType ();
Public Sub New ()
适用于
SqlServerType(Decimal)
使用指定的默认执行超时值初始化 SqlServerType 类的新实例。
public:
SqlServerType(System::Decimal defaultExecutionTimeout);
public SqlServerType (decimal defaultExecutionTimeout);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType : decimal -> Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType
Public Sub New (defaultExecutionTimeout As Decimal)
参数
- defaultExecutionTimeout
- Decimal
默认的执行超时值。
适用于
SqlServerType(Int32[])
使用指定的支持的身份验证类型初始化 SqlServerType 类的新实例。
public:
SqlServerType(cli::array <int> ^ supportedAuthenticationTypes);
public SqlServerType (int[] supportedAuthenticationTypes);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType : int[] -> Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType
Public Sub New (supportedAuthenticationTypes As Integer())
参数
- supportedAuthenticationTypes
- Int32[]
支持的身份验证类型。
适用于
SqlServerType(Int32[], Decimal)
使用指定的支持的身份验证类型和默认的执行超时值初始化 SqlServerType 类的新实例。
public:
SqlServerType(cli::array <int> ^ supportedAuthenticationTypes, System::Decimal defaultExecutionTimeout);
public SqlServerType (int[] supportedAuthenticationTypes, decimal defaultExecutionTimeout);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType : int[] * decimal -> Microsoft.SqlServer.Management.UI.ConnectionDlg.SqlServerType
Public Sub New (supportedAuthenticationTypes As Integer(), defaultExecutionTimeout As Decimal)
参数
- supportedAuthenticationTypes
- Int32[]
支持的身份验证类型。
- defaultExecutionTimeout
- Decimal
默认的执行超时值。