 | ChannelDelete Method |
Removes the channel from the server
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic Task Delete(
bool force = false
)
Public Function Delete (
Optional force As Boolean = false
) As Task
public:
Task^ Delete(
bool force = false
)
member Delete :
?force : bool
(* Defaults:
let _force = defaultArg force false
*)
-> Task
Parameters
- force (Optional)
- Type: SystemBoolean
If true, the channel will be deleted even when it is not empty. Clients within the deleted channel are transfered to the default channel. Any contained subchannels are removed as well. If false, the server will refuse to delete a channel that is not empty.
Return Value
Type:
TaskA task that represents the asynchronous operation.
See Also