Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Formats a property name for placement in a connection string.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overridable Function GetNameAsString ( _
propertyName As String _
) As String
protected virtual string GetNameAsString(
string propertyName
)
protected:
virtual String^ GetNameAsString(
String^ propertyName
)
abstract GetNameAsString :
propertyName:string -> string
override GetNameAsString :
propertyName:string -> string
protected function GetNameAsString(
propertyName : String
) : String
Parameters
- propertyName
Type: System.String
Name of the property for which the name is provided.
Return Value
Type: System.String
Returns the formatted name of the input property name for placement in a connection string.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The propertyName parameter is null. |
Remarks
This method is called by the base implementation of ToDisplayString and ToFullString when formatting property names to be placed in the output string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.