Partager via


IVsDataConnectionProperties.ToSafeString Method

When implemented by a class, retrieves a string representation of the current set of data connection properties that excludes sensitive properties or properties that should not be persisted.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Déclaration
Function ToSafeString As String
string ToSafeString()
String^ ToSafeString()
abstract ToSafeString : unit -> string 
function ToSafeString() : String

Return Value

Type: System.String
A string representation of the current set of data connection properties that excludes sensitive properties or properties that should not be persisted.

Remarks

An example of a sensitive property is a password property.

.NET Framework Security

See Also

Reference

IVsDataConnectionProperties Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace