共用方式為


ToString 方法

Returns a String value that represents the current object.

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

語法

'宣告
Public Overrides Function ToString As String
'用途
Dim instance As [Property]
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 represents the Property object.

範例

設定屬性