SqlConnectionStringParser Class
Parses a SQL Server connection string and creates a version of the string that is safe to persist.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SqlConnectionStringParser
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class SqlConnectionStringParser _
Implements IConnectionStringParser
public sealed class SqlConnectionStringParser : IConnectionStringParser
public ref class SqlConnectionStringParser sealed : IConnectionStringParser
[<Sealed>]
type SqlConnectionStringParser =
class
interface IConnectionStringParser
end
public final class SqlConnectionStringParser implements IConnectionStringParser
The SqlConnectionStringParser type exposes the following members.
Properties
Name | Description | |
---|---|---|
Instance | Gets an instance of the SqlConnectionStringParser class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeSafeToPersist | Returns a connection string that is safe to persist. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.