This documentation is archived and is not being maintained.

SqlConnectionStringBuilder.ShouldSerialize Method

Indicates whether the specified key exists in this SqlConnectionStringBuilder instance.

Namespace: System.Data.SqlClient
Assembly: System.Data (in system.data.dll)

public override bool ShouldSerialize (
	string keyword
)
public boolean ShouldSerialize (
	String keyword
)
public override function ShouldSerialize (
	keyword : String
) : boolean
Not applicable.

Parameters

keyword

The key to locate in the SqlConnectionStringBuilder.

Return Value

true if the SqlConnectionStringBuilder contains an entry with the specified key; otherwise, false.

This method behaves identically to the ContainsKey method.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: