SqlServerType 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SqlServerType 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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
預設的執行逾時值。