Export (0) Print
Expand All

PrintServer Methods

The PrintServer type exposes the following members.

  NameDescription
Public method Commit Commits any changes that your program made to the properties of the print server object by writing them to the print server that the object represents. (Overrides PrintSystemObject.Commit().)
Public method Static member DeletePrintQueue Overloaded. Removes a print queue from the print server.
Public method Dispose Overloaded. Releases the resources used by the PrintSystemObject.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases the resources that are being used by the PrintSystemObject. (Inherited from PrintSystemObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPrintQueue Overloaded. Gets a specified print queue from the print server.
Public method GetPrintQueues Overloaded. Gets the collection of print queues that the print server hosts.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Initialize Initializes the properties of the PrintSystemObject. (Inherited from PrintSystemObject.)
Public method InstallPrintQueue Overloaded. Installs a print queue, and its associated printer driver, on the print server.
Protected method InternalDispose Releases the unmanaged resources that are used by the PrintServer and optionally releases the managed resources. (Overrides PrintSystemObject.InternalDispose(Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh Updates the properties of the PrintServer object so that each property value matches the corresponding attribute value of the print server that the object represents. (Overrides PrintSystemObject.Refresh().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft