共用方式為


ConnectionSettings.WorkstationId 屬性

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

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

語法

'宣告
Public Property WorkstationId As String 
    Get 
    Set
'用途
Dim instance As ConnectionSettings 
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
An Int32 value that specifies the ID value that uniquely identifies the workstation.

請參閱

參考

ConnectionSettings 類別

Microsoft.SqlServer.Management.Common 命名空間