Share via


DatabaseMapping.ToString Method

Returns a string that represents the DatabaseMapping object.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As DatabaseMapping
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

Return Value

Type: System.String
A String value that specifies the DatabaseMapping object.