API Reference
Class
PrintSpoolerRpcProbe
Lightweight RPC probe that checks whether the Print Spooler service exposes its remote endpoint.
Inheritance
- Object
- PrintSpoolerRpcProbe
Methods
TryOpen(System.String serverName, System.UInt32@ errorCode) #Attempts to open the remote printer handle on the specified server.
Parameters
- serverName System.String
- Domain controller host name or FQDN.
- errorCode System.UInt32@
- Returns the Win32 error when the call fails.
Returns
true when the spooler RPC endpoint is reachable.