Share via


CSharpMigrationCodeGenerator.ScrubName(String) Method

Definition

Removes any invalid characters from the name of an database artifact.

protected virtual string ScrubName (string name);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2141:TransparentMethodsMustNotSatisfyLinkDemandsFxCopRule")]
protected virtual string ScrubName (string name);
abstract member ScrubName : string -> string
override this.ScrubName : string -> string
Protected Overridable Function ScrubName (name As String) As String

Parameters

name
String

The name to be scrubbed.

Returns

The scrubbed name.

Attributes

Applies to