public class DbConnectionStringBuilder extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.Common.DbConnectionStringBuilder
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.Common.DbConnectionStringBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
DbConnectionStringBuilder()
Initializes a new instance by invoking the .NET constructor.
|
DbConnectionStringBuilder(boolean useOdbcRules)
Initializes a new instance by invoking the .NET constructor.
|
DbConnectionStringBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(java.lang.String keyword,
NetObject value)
Invokes the .NET member Add.
|
static void |
AppendKeyValuePair(StringBuilder builder,
java.lang.String keyword,
java.lang.String value)
Invokes the .NET member AppendKeyValuePair.
|
static void |
AppendKeyValuePair(StringBuilder builder,
java.lang.String keyword,
java.lang.String value,
boolean useOdbcRules)
Invokes the .NET member AppendKeyValuePair.
|
static DbConnectionStringBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DbConnectionStringBuilder, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
ContainsKey(java.lang.String keyword)
Invokes the .NET member ContainsKey.
|
boolean |
EquivalentTo(DbConnectionStringBuilder connectionStringBuilder)
Invokes the .NET member EquivalentTo.
|
boolean |
getBrowsableConnectionString()
Gets the value of the .NET property BrowsableConnectionString.
|
java.lang.String |
getConnectionString()
Gets the value of the .NET property ConnectionString.
|
int |
getCount()
Gets the value of the .NET property Count.
|
boolean |
getIsFixedSize()
Gets the value of the .NET property IsFixedSize.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
ICollection |
getKeys()
Gets the value of the .NET property Keys.
|
ICollection |
getValues()
Gets the value of the .NET property Values.
|
boolean |
Remove(java.lang.String keyword)
Invokes the .NET member Remove.
|
void |
setBrowsableConnectionString(boolean BrowsableConnectionString)
Sets the value of the .NET property BrowsableConnectionString.
|
void |
setConnectionString(java.lang.String ConnectionString)
Sets the value of the .NET property ConnectionString.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
boolean |
ShouldSerialize(java.lang.String keyword)
Invokes the .NET member ShouldSerialize.
|
boolean |
TryGetValue(java.lang.String keyword,
JCORefOut<NetObject> value)
Invokes the .NET member TryGetValue.
|
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DbConnectionStringBuilder()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic DbConnectionStringBuilder(boolean useOdbcRules)
throws java.lang.Throwable
useOdbcRules - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic DbConnectionStringBuilder(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Add(java.lang.String keyword,
NetObject value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
NullReferenceException,
NotImplementedException,
RegexMatchTimeoutException,
IndexOutOfRangeException
keyword - the argument of type java.lang.Stringvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static void AppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, CultureNotFoundException, ExternalException
builder - the argument of type StringBuilderkeyword - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itpublic static void AppendKeyValuePair(StringBuilder builder, java.lang.String keyword, java.lang.String value, boolean useOdbcRules) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, CultureNotFoundException, ExternalException
builder - the argument of type StringBuilderkeyword - the argument of type java.lang.Stringvalue - the argument of type java.lang.StringuseOdbcRules - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itpublic static DbConnectionStringBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DbConnectionStringBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDbConnectionStringBuilder instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
NullReferenceException,
NotSupportedException,
EventSourceException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean ContainsKey(java.lang.String keyword)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
keyword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean EquivalentTo(DbConnectionStringBuilder connectionStringBuilder) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
connectionStringBuilder - the argument of type DbConnectionStringBuilderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getBrowsableConnectionString()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getConnectionString()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
EventSourceException,
ArgumentNullException,
NotImplementedException,
RegexMatchTimeoutException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itNotImplementedException - if the .NET member raises itRegexMatchTimeoutException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int getCount()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getIsFixedSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic ICollection getKeys() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic ICollection getValues() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, EventSourceException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean Remove(java.lang.String keyword)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
OutOfMemoryException,
EventSourceException
keyword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic void setBrowsableConnectionString(boolean BrowsableConnectionString)
throws java.lang.Throwable
BrowsableConnectionString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setConnectionString(java.lang.String ConnectionString)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
EventSourceException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
RankException,
InvalidCastException,
ArgumentNullException,
NotImplementedException
ConnectionString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itArgumentNullException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic boolean ShouldSerialize(java.lang.String keyword)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
keyword - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean TryGetValue(java.lang.String keyword,
JCORefOut<NetObject> value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
keyword - the argument of type java.lang.Stringvalue - the argument of type JCORefOut<NetObject>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises it