AdminProxy
Retrieves an IUpdateServer that you use to communicate with the WSUS server.
Do not use the new keyword to create an instance of AdminProxy if you use GetUpdateServer to retrieve an interface to the WSUS server—the GetUpdateServer method is static. However, if you use GetUpdateServerInstance, then you must use the new keyword to create an instance of AdminProxy.
The AdminProxy class is derived from the System.Object class.
Public Constructors
The AdminProxy class has the following public constructor.
Constructor | Description |
---|---|
AdminProxy() | Initializes a new instance of the AdminProxy class. |
Public Methods
The AdminProxy class has the following public methods.
Method | Description |
---|---|
Equals(Object) | Inherited from System.Object. Determines whether the specified Object is equal to the current Object. |
Equals(Object, Object) | Static (Shared). Determines whether the specified Object instances are considered equal. |
GetHashCode() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType() | Retrieves the Type of the current instance. |
GetUpdateServer() | Static (Shared). Retrieves an IUpdateServer that you use to communicate with the WSUS server. |
GetUpdateServerInstance() | Retrieves an IUpdateServer that you use to communicate with the WSUS server. |
ReferenceEquals(Object, Object) | Static (Shared). Determines whether the specified Object instances are the same instance. |
ToString() | Returns a String that represents the current Object. |
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |