Package system.management
Class ConnectionOptions
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.management.ManagementOptions
-
- system.management.ConnectionOptions
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ConnectionOptions extends ManagementOptions
The base .NET class managing System.Management.ConnectionOptions, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.ConnectionOptions
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Managementstatic java.lang.StringclassNameQualified class name: System.Management.ConnectionOptionsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ConnectionOptions()ConnectionOptions(java.lang.Object instance)Internal constructor.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)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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionOptionscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoConnectionOptions, a cast assert is made to check if types are compatible.NetObjectClone()AuthenticationLevelgetAuthentication()java.lang.StringgetAuthority()booleangetEnablePrivileges()ImpersonationLevelgetImpersonation()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetLocale()java.lang.StringgetUsername()voidsetAuthentication(AuthenticationLevel Authentication)voidsetAuthority(java.lang.String Authority)voidsetEnablePrivileges(boolean EnablePrivileges)voidsetImpersonation(ImpersonationLevel Impersonation)voidsetJCOInstance(JCObject instance)voidsetLocale(java.lang.String Locale)voidsetPassword(java.lang.String Password)voidsetSecurePassword(SecureString SecurePassword)voidsetUsername(java.lang.String Username)-
Methods inherited from class system.management.ManagementOptions
getContext, getTimeout, setContext, setTimeout
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Management- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Management.ConnectionOptions- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConnectionOptions
public ConnectionOptions(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ConnectionOptions
public ConnectionOptions() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MulticastNotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
ConnectionOptions
public 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
-
ConnectionOptions
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
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classManagementOptions- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classManagementOptions- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classManagementOptions- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classManagementOptions- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classManagementOptions
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classManagementOptions- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ConnectionOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoConnectionOptions, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ConnectionOptionsinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
- Overrides:
Clonein classManagementOptions- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionMulticastNotSupportedException
-
getEnablePrivileges
public boolean getEnablePrivileges() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEnablePrivileges
public void setEnablePrivileges(boolean EnablePrivileges) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAuthentication
public AuthenticationLevel getAuthentication() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAuthentication
public void setAuthentication(AuthenticationLevel Authentication) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getImpersonation
public ImpersonationLevel getImpersonation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImpersonation
public void setImpersonation(ImpersonationLevel Impersonation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSecurePassword
public void setSecurePassword(SecureString SecurePassword) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryException
-
getAuthority
public java.lang.String getAuthority() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAuthority
public void setAuthority(java.lang.String Authority) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLocale
public java.lang.String getLocale() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLocale
public void setLocale(java.lang.String Locale) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPassword
public void setPassword(java.lang.String Password) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, ArgumentNullException, CryptographicException, ArgumentException
-
getUsername
public java.lang.String getUsername() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUsername
public void setUsername(java.lang.String Username) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-