This illustration shows how to install the sample data that comes with Microsoft Dynamics CRM 2011 with InstallSampleDataRequest. This example will be given in VB.NET.
Ok, here is what the code looks like!
Dim req As New InstallSampleDataRequest() Dim resp As InstallSampleDataResponse = DirectCast(service.Execute(req), InstallSampleDataResponse)
I hope this helps!