How to enable "Force Encryption" for SQL Server 2005?

I need to enable "Force Encryption" for SQL Server 2005, but I don't know which API can do it. I need to operate remote SQL server , so I cannot operate registry directly to do it. Who can help me

Answer this question

How to enable "Force Encryption" for SQL Server 2005?