SqlConnectionStringBuilder.WorkstationID プロパティ

定義

SQL Server に接続するワークステーションの名前を取得または設定します。

public:
 property System::String ^ WorkstationID { System::String ^ get(); void set(System::String ^ value); };
public string WorkstationID { get; set; }
member this.WorkstationID : string with get, set
Public Property WorkstationID As String

プロパティ値

WorkstationID プロパティの値。値が指定されていない場合は String.Empty

例外

値を null に設定するには、Value を使用します。

注釈

このプロパティは、接続文字列内の "Workstation ID" キーおよび "wsid" キーに対応しています。

適用対象

こちらもご覧ください