다음을 통해 공유


ToString 메서드

Returns the referenced object name as a string.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
Public Overrides Function ToString As String
‘사용 방법
Dim instance As ConnectionSettings
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string 
override ToString : unit -> string 
public override function ToString() : String

반환 값

형식: System. . :: . .String
A String value that specifies the name of the referenced object.