public class OdbcPermission extends DBDataPermission
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.Odbc.OdbcPermission
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.Security.Permissions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Permissions
|
static java.lang.String |
className
Qualified class name: System.Data.Odbc.OdbcPermission
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OdbcPermission()
Initializes a new instance by invoking the .NET constructor.
|
OdbcPermission(java.lang.Object instance)
Internal constructor.
|
OdbcPermission(PermissionState state)
Initializes a new instance by invoking the .NET constructor.
|
OdbcPermission(PermissionState state,
boolean allowBlankPassword)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(java.lang.String connectionString,
java.lang.String restrictions,
KeyRestrictionBehavior behavior)
Invokes the .NET member Add.
|
static OdbcPermission |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OdbcPermission, a cast assert is made to check if types are compatible. |
IPermission |
Copy()
Invokes the .NET member Copy.
|
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. |
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
FromXml, getAllowBlankPassword, Intersect, IsSubsetOf, IsUnrestricted, setAllowBlankPassword, ToXml, UnionAssert, Demand, Deny, PermitOnly, RevertAll, RevertAssert, RevertDeny, RevertPermitOnlypublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public OdbcPermission()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic OdbcPermission(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 OdbcPermission(PermissionState state) throws java.lang.Throwable
state - the argument of type PermissionStatejava.lang.Throwable - if the .NET constructor failspublic OdbcPermission(PermissionState state, boolean allowBlankPassword) throws java.lang.Throwable
state - the argument of type PermissionStateallowBlankPassword - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic void Add(java.lang.String connectionString,
java.lang.String restrictions,
KeyRestrictionBehavior behavior)
throws java.lang.Throwable
Add in class DBDataPermissionconnectionString - the argument of type java.lang.Stringrestrictions - the argument of type java.lang.Stringbehavior - the argument of type KeyRestrictionBehaviorjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static OdbcPermission cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OdbcPermission, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOdbcPermission instancejava.lang.Throwable - in case of error during cast operationpublic IPermission Copy() throws java.lang.Throwable
Copy in class DBDataPermissionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DBDataPermissionpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DBDataPermissionpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DBDataPermissionnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DBDataPermissionpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DBDataPermissionpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DBDataPermissioninstance - the new underlying object