AuthenticationInfo 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
抽象化連線的認證元件。
public ref class AuthenticationInfo
public class AuthenticationInfo
type AuthenticationInfo = class
Public Class AuthenticationInfo
- 繼承
-
AuthenticationInfo
建構函式
| 名稱 | Description |
|---|---|
| AuthenticationInfo() |
初始化 AuthenticationInfo 類別的新執行個體。 |
| AuthenticationInfo(String, String, String, Int32, Boolean) |
初始化一個新的類別實例AuthenticationInfo,並以指定的認證標籤、使用者、密碼、認證類型及 Windows 是否已認證。 |
欄位
| 名稱 | Description |
|---|---|
| authLabel |
定義一個值,指定連接上所使用的認證標籤。 |
| authType |
定義一個值,指定連線所使用的認證類型。 |
| isWindowsAuth |
定義一個值,表示使用者是否被Microsoft Windows-Integrated認證。 |
| pwdLabel |
定義一個字串,代表密碼的標籤。 |
| usrLabel |
定義一個代表使用者標籤的字串。 |
屬性
| 名稱 | Description |
|---|---|
| AuthenticationLabel |
取得或設定一個決定認證標籤的值。 |
| AuthenticationType |
取得或設定一個決定驗證類型的值。 |
| IsWindowsAuthentication |
取得或設定一個值,指示使用者是否已透過Microsoft Windows-Integrated認證。 |
| PasswordLabel |
取得或設定代表密碼標籤的指定文字。 |
| UserLabel |
取得或設定代表密碼標籤的指定文字。 |