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.String
assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Managementstatic java.lang.String
className
Qualified class name: System.Management.ConnectionOptionsstatic JCType
classType
The 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 ConnectionOptions
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoConnectionOptions
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.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)
-
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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classManagementOptions
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classManagementOptions
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classManagementOptions
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classManagementOptions
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classManagementOptions
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classManagementOptions
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ConnectionOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoConnectionOptions
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ConnectionOptions
instance- 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:
Clone
in classManagementOptions
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
NotImplementedException
MissingManifestResourceException
InvalidOperationException
NotSupportedException
OutOfMemoryException
MulticastNotSupportedException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
-
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
-
-