取得或設定要使用的通訊協定。
命名空間: Microsoft.Data.Schema.ScriptDom.Sql
組件: Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)
語法
'宣告
Public Property Protocol As AuthenticationProtocol
Get
Set
public AuthenticationProtocol Protocol { get; set; }
public:
property AuthenticationProtocol Protocol {
AuthenticationProtocol get ();
void set (AuthenticationProtocol value);
}
member Protocol : AuthenticationProtocol with get, set
function get Protocol () : AuthenticationProtocol
function set Protocol (value : AuthenticationProtocol)
屬性值
型別:Microsoft.Data.Schema.ScriptDom.Sql.AuthenticationProtocol
傳回 AuthenticationProtocol 列舉值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。