Platform SDK: DirectX

DirectPlaySessionData.GetSessionPassword

The DirectPlaySessionData.GetSessionPassword method retrieves the password of the session.

object.GetSessionPassword() As String

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.

Return Values

The method returns the password required to join the session.

Error Codes

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