Share via


MultiServerSqlConnectionInfo.WorkstationId Property

Gets or sets the name of the client machine submitting the Transact-SQL batch.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public Property WorkstationId As String
    Get
    Set
'Usage
Dim instance As MultiServerSqlConnectionInfo
Dim value As String

value = instance.WorkstationId

instance.WorkstationId = value
public string WorkstationId { get; set; }
public:
property String^ WorkstationId {
    String^ get ();
    void set (String^ value);
}
member WorkstationId : string with get, set
function get WorkstationId () : String
function set WorkstationId (value : String)

Property Value

Type: System.String
A String containing the name of the client machine.