public class ConnectionOptions extends ManagementOptions
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.ConnectionOptions
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.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Management
|
static java.lang.String |
className
Qualified class name: System.Management.ConnectionOptions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ConnectionOptions() |
ConnectionOptions(java.lang.Object instance)
Internal constructor.
|
ConnectionOptions(java.lang.String locale,
java.lang.String username,
SecureString password,
java.lang.String authority,
ImpersonationLevel impersonation,
AuthenticationLevel authentication,
boolean enablePrivileges,
ManagementNamedValueCollection context,
TimeSpan timeout) |
ConnectionOptions(java.lang.String locale,
java.lang.String username,
java.lang.String password,
java.lang.String authority,
ImpersonationLevel impersonation,
AuthenticationLevel authentication,
boolean enablePrivileges,
ManagementNamedValueCollection context,
TimeSpan timeout) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionOptions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ConnectionOptions, a cast assert is made to check if types are compatible. |
NetObject |
Clone() |
AuthenticationLevel |
getAuthentication() |
java.lang.String |
getAuthority() |
boolean |
getEnablePrivileges() |
ImpersonationLevel |
getImpersonation() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getLocale() |
java.lang.String |
getUsername() |
void |
setAuthentication(AuthenticationLevel Authentication) |
void |
setAuthority(java.lang.String Authority) |
void |
setEnablePrivileges(boolean EnablePrivileges) |
void |
setImpersonation(ImpersonationLevel Impersonation) |
void |
setJCOInstance(JCObject instance) |
void |
setLocale(java.lang.String Locale) |
void |
setPassword(java.lang.String Password) |
void |
setSecurePassword(SecureString SecurePassword) |
void |
setUsername(java.lang.String Username) |
getContext, getTimeout, setContext, setTimeoutpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ConnectionOptions()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
MulticastNotSupportedException,
OutOfMemoryException,
ObjectDisposedException,
CryptographicException
public ConnectionOptions(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ConnectionOptions(java.lang.String locale,
java.lang.String username,
SecureString password,
java.lang.String authority,
ImpersonationLevel impersonation,
AuthenticationLevel authentication,
boolean enablePrivileges,
ManagementNamedValueCollection context,
TimeSpan timeout)
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
MissingManifestResourceException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
MulticastNotSupportedException,
OutOfMemoryException
public ConnectionOptions(java.lang.String locale,
java.lang.String username,
java.lang.String password,
java.lang.String authority,
ImpersonationLevel impersonation,
AuthenticationLevel authentication,
boolean enablePrivileges,
ManagementNamedValueCollection context,
TimeSpan timeout)
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
MissingManifestResourceException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
MulticastNotSupportedException,
OutOfMemoryException,
CryptographicException
public static ConnectionOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ConnectionOptions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConnectionOptions instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
Clone in class ManagementOptionsjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionpublic AuthenticationLevel getAuthentication() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getAuthority()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getEnablePrivileges()
throws java.lang.Throwable
java.lang.Throwablepublic ImpersonationLevel getImpersonation() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ManagementOptionsString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ManagementOptionsString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ManagementOptionsObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ManagementOptionsString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ManagementOptionsJCType representing the CLR Type of the instantiated Classpublic java.lang.String getLocale()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getUsername()
throws java.lang.Throwable
java.lang.Throwablepublic void setAuthentication(AuthenticationLevel Authentication) throws java.lang.Throwable
java.lang.Throwablepublic void setAuthority(java.lang.String Authority)
throws java.lang.Throwable
java.lang.Throwablepublic void setEnablePrivileges(boolean EnablePrivileges)
throws java.lang.Throwable
java.lang.Throwablepublic void setImpersonation(ImpersonationLevel Impersonation) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ManagementOptionspublic void setLocale(java.lang.String Locale)
throws java.lang.Throwable
java.lang.Throwablepublic void setPassword(java.lang.String Password)
throws java.lang.Throwable,
NotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException,
ArgumentNullException,
CryptographicException,
ArgumentException
public void setSecurePassword(SecureString SecurePassword) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void setUsername(java.lang.String Username)
throws java.lang.Throwable
java.lang.Throwable