Platform SDK: DirectX

DirectPlaySessionData.GetSessionName

The DirectPlaySessionData.GetSessionName method retrieves the name of the session.

object.GetSessionName() As String

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.

Return Values

The method returns the name of the session.

Error Codes

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