static private GetWebRole ( string rootPath, string name ) : WebRole | ||
rootPath | string | The azure service rootPath path |
name | string | |
return | WebRole |
internal static WebRole GetWebRole(string rootPath, string name)
{
CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath("Services"));
return service.Components.GetWebRole(name);
}