Platform SDK: DirectX

DirectPlaySessionData.SetSessionPassword

The DirectPlaySessionData.SetSessionPassword method sets the password for a session.

object.SetSessionPassword(val As String)

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.
val
Password for the session.

Error Codes

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