共用方式為


SqlConnectionInfo.WorkstationId 屬性

Gets or sets the value that uniquely identifies the client workstation.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Property WorkstationId As String 
    Get 
    Set
'用途
Dim instance As SqlConnectionInfo 
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)

屬性值

型別:System.String
A Int32 value that specifies the value that uniquely identifies the client workstation.

請參閱

參考

SqlConnectionInfo 類別

Microsoft.SqlServer.Management.Common 命名空間