Adds a role to farm
public AddRole ( DBRole $DBRole, string $platform, string $cloudLocation, integer $launchIndex, string $alias = "" ) : DBFarmRole | ||
$DBRole | DBRole | The role object |
$platform | string | The cloud platform |
$cloudLocation | string | The cloud location |
$launchIndex | integer | Launch index |
$alias | string | optional |
return | DBFarmRole |