|   | DataSubscriberSendServerCommand(ServerCommand, Byte) Method | 
        
        
            Sends a server command to the publisher connection.
            
        
        Namespace: GSF.TimeSeries.TransportAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.257-beta
 Syntax
Syntaxpublic virtual bool SendServerCommand(
	ServerCommand commandCode,
	byte[] data = null
)
Public Overridable Function SendServerCommand ( 
	commandCode As ServerCommand,
	Optional data As Byte() = Nothing
) As Boolean
public:
virtual bool SendServerCommand(
	ServerCommand commandCode, 
	array<unsigned char>^ data = nullptr
)
abstract SendServerCommand : 
        commandCode : ServerCommand * 
        ?data : byte[] 
(* Defaults:
        let _data = defaultArg data null
*)
-> bool 
override SendServerCommand : 
        commandCode : ServerCommand * 
        ?data : byte[] 
(* Defaults:
        let _data = defaultArg data null
*)
-> bool function SendServerCommand(commandCode, data);
Parameters
- commandCode  ServerCommand
- ServerCommand to send.
- data  Byte  (Optional)
- Optional command data to send.
Return Value
Booleantrue if 
commandCode transmission was successful; otherwise 
false.
 See Also
See Also