DirectX SDK

DirectPlaySessionData.SetSessionName

The DirectPlaySessionData.SetSessionName method sets the name of a session.

object.SetSessionName(val As String)

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.
val
Name of the session.

Error Codes

If the method fails, an error is raised and Err.Number will be set.