SqlConnectionStringBuilder.WorkstationID Proprietà

Definizione

Ottiene o imposta il nome della workstation che si connette a 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

Valore della proprietà

Valore della WorkstationID proprietà o String.Empty se non è stato specificato alcun valore.

Eccezioni

Per impostare il valore su Null, usare Value.

Commenti

Questa proprietà corrisponde alle chiavi "ID workstation" e "wsid" all'interno del stringa di connessione.

Si applica a

Vedi anche